Connect to Microsoft SQL Server Analysis Services(SSAS) data source
The SSAS data source in the Bold Reports® Web Report Designer connects your reports to a Microsoft SQL Server Analysis Services (SSAS) database.
How do I create a Microsoft SQL Server Analysis Services (SSAS) data source?
You create an SSAS data source from the Data panel of the Bold Reports® Web Report Designer. Follow these steps:
- Click the Data icon in the configuration panel.

- In the
DATAconfiguration panel, click theNEW DATAbutton.
- In the connection type panel, choose the
Microsoft SQL Analysis Servicesdata source type.
How do I set the connection properties?
After you click the data source, the Web Report Designer opens the NEW DATASOURCE configuration panel. Set the SSAS connection properties as follows:
-
Specify the data source name without special characters in the Name field.

-
In the Server Name field, select an existing server in the local network from the drop-down list, or specify a remote server name like
myserver.domain.com. -
In the Authentication Type field, choose Windows or SQL Server authentication.
-
Choose or enter an existing valid database, for example, AdventureWorks.

-
Click
Connectto open the query design pane. -
Enter the required query and execute it. The grid shows the corresponding values for preview.

Only query mode is supported for Microsoft SQL Server Analysis Services data source.
-
Click
Finishto save the data source with a relevant name and continue designing the report.
Authentication types for basic connection
The basic SSAS connection in Bold Reports® supports two authentication types: Windows or SQL server.
If your data source supports authentication directly through Windows Credentials (Integrated Security), choose Windows under Authentication Type.

If your data source requires a username and password to authenticate, choose SQL server under Authentication Type. Then, input the username and password for the server named in the Server Name field.

Enable the Save password option to embed the credentials within the report when saving it in Bold Reports® Report Server.
On report download action, the credentials will be not be saved with report data.
How do I create an SSAS data source with advanced options?
The advanced options of the SSAS data source in the Web Report Designer let you build your own connection string. To use them, click Advanced Options in the New Data panel.

-
Set the connection string and authentication type as required, and click
Connect.
-
Enter the required query and execute it. The grid shows the corresponding values for preview.

Only query mode is supported for Microsoft SQL Server Analysis Services data source.
-
Click
Finishto save the data source with a relevant name and continue designing the report.
Click
Basic Optionsto switch back to the basic connection settings.

Authentication types for advanced connection
The advanced SSAS connection supports Windows integrated security, SQL Server credentials, prompted credentials, or no credentials.

Windows - If your data source supports authentication directly through Windows credentials (Integrated Security), choose Windows under Authentication Type.
SQL Server - You must supply a user name and password to access the Microsoft SQL Server Analysis Services (SSAS) database. The credentials might be for a database login. The credentials are passed to the data source for authentication.

Enable the Save password option to embed the credentials within the report when saving it in Report Server.
On report download action, the credentials will be not be saved with report data.
Prompt - When you configure a data source connection to use prompted credentials, each user who accesses the report must enter a user name and password on preview to retrieve the data.

None - Choose the authentication type None when the connection string already provides the authentication details or any other arguments required to connect with the data source.
How do I query OLAP cube data?
The query language you use for OLAP cube data through SSAS in Bold Reports® depends on the cube type:
-
Multidimensional Cube : Use MDX (Multidimensional Expressions) queries.

-
Tabular Cube : Use DAX (Data Analysis Expressions) queries.

When you use DAX with SSAS Tabular models in the Bold Reports® Designer, consider the following points:
-
You can use existing measures defined in the SSAS model without any issues, but creating new measures directly in the Bold Reports® Designer’s query builder is not supported.
-
Additive measures (for example, SUM, COUNT) can be used across related dimensions and are suitable for designing charts, tables, and similar report elements.
-
Semi-additive measures can also be applied over dimensions and used effectively in table report items.
-
Non-additive measures can be queried and used in report items such as text boxes.
Note: Always ensure that the dimension you use has a valid relationship with the table containing the measure to avoid data inconsistencies.
Frequently asked questions
Does the SSAS data source support a query designer mode?
No. Only query mode is supported for the Microsoft SQL Server Analysis Services data source in Bold Reports®.
Should I use MDX or DAX for SSAS?
Use MDX queries for a multidimensional cube and DAX queries for a tabular cube.
Can I create new measures in the Bold Reports® Designer query builder?
No. You can use existing measures defined in the SSAS model, but creating new measures in the Bold Reports® Designer’s query builder is not supported.