How should you define the expression that is assigned to the connection string property of the data source?

A multinational retailer has retail locations on several continents. A single SQL Server
Reporting Services (SSRS) instance is used for global reporting.
A SQL Server Analysis Services (SSAS) instance for each continent hosts a
multidimensional database named RetailSales. Each RetailSales database stores data only
for the continent in which it resides. All of the SSAS instances are configured identically. The
cube names and objects are identical.

Reports must meet the following requirements:
A report parameter named ServerName must be defined in each report.
When running a report, users must be prompted to select a server instance.
The report data source must use the Microsoft SQL Server Analysis Services data source
type.
You need to create a data source to meet the requirements.
How should you define the expression that is assigned to the connection string property of
the data source?

A multinational retailer has retail locations on several continents. A single SQL Server
Reporting Services (SSRS) instance is used for global reporting.
A SQL Server Analysis Services (SSAS) instance for each continent hosts a
multidimensional database named RetailSales. Each RetailSales database stores data only
for the continent in which it resides. All of the SSAS instances are configured identically. The
cube names and objects are identical.

Reports must meet the following requirements:
A report parameter named ServerName must be defined in each report.
When running a report, users must be prompted to select a server instance.
The report data source must use the Microsoft SQL Server Analysis Services data source
type.
You need to create a data source to meet the requirements.
How should you define the expression that is assigned to the connection string property of
the data source?

A.
=”Server=” & ParametersIServerName.Value & “; Initial Catalog=RetailSales”

B.
=”Data Source=@ServerName; Initial Catalog=RetailSales”

C.
=”Data Source=” & Parameters!ServerName.Value & “;Initial Catalog=RetailSales”

D.
=”Server=” & Parameters!ServerName.Value

E.
=”Server=@ServerName; Initial Catalog=RetailSales”



Leave a Reply 5

Your email address will not be published. Required fields are marked *


dust

dust

Definitely C

=”Data Source=” & Parameters!ServerName.Value & “;Initial Catalog=RetailSales”

Parameters such as @ServerName are not valid ways of specifying parameter values in SSRS expressions. @parameter is a TSQL declaration.