Import SQL Analysis Services Data into the Power BI Service for Visualizations

Jerod Johnson
Jerod Johnson
Director, Technology Evangelism
Use CData Connect AI to connect to SQL Analysis Services Data and provide access to live SQL Analysis Services data for custom reports in the Power BI Service.

Power BI transforms your company's data into rich visuals for you to collect and organize so you can focus on what matters to you. When paired with CData Connect AI, you get access to SQL Analysis Services data for visualizations, dashboards, and more. This article shows how to connect to SQL Analysis Services in CData Connect AI, publish a dataset from Power BI Desktop to the Power BI Service and then create reports on SQL Analysis Services data in the Power BI service.

Configure SQL Analysis Services Connectivity for Power BI Service

Connectivity to SQL Analysis Services from Power BI Service is made possible through CData Connect AI. To work with SQL Analysis Services data from Power BI Service, we start by creating and configuring a SQL Analysis Services connection.

  1. Log into Connect AI, click Sources, and then click Add Connection
  2. Select "SQL Analysis Services" from the Add Connection panel
  3. Enter the necessary authentication properties to connect to SQL Analysis Services.

    To connect, provide authentication and set the Url property to a valid SQL Server Analysis Services endpoint. You can connect to SQL Server Analysis Services instances hosted over HTTP with XMLA access. See the Microsoft documentation to configure HTTP access to SQL Server Analysis Services.

    To secure connections and authenticate, set the corresponding connection properties, below. The data provider supports the major authentication schemes, including HTTP and Windows, as well as SSL/TLS.

    • HTTP Authentication

      Set AuthScheme to "Basic" or "Digest" and set User and Password. Specify other authentication values in CustomHeaders.

    • Windows (NTLM)

      Set the Windows User and Password and set AuthScheme to "NTLM".

    • Kerberos and Kerberos Delegation

      To authenticate with Kerberos, set AuthScheme to NEGOTIATE. To use Kerberos delegation, set AuthScheme to KERBEROSDELEGATION. If needed, provide the User, Password, and KerberosSPN. By default, the data provider attempts to communicate with the SPN at the specified Url.

    • SSL/TLS:

      By default, the data provider attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store. To specify another certificate, see the SSLServerCert property for the available formats.

    You can then access any cube as a relational table: When you connect the data provider retrieves SSAS metadata and dynamically updates the table schemas. Instead of retrieving metadata every connection, you can set the CacheLocation property to automatically cache to a simple file-based store.

    See the Getting Started section of the CData documentation, under Retrieving Analysis Services Data, to execute SQL-92 queries to the cubes.

  4. Click Save & Test
  5. Navigate to the Permissions tab in the Add SQL Analysis Services Connection page and update the User-based permissions.

With the connection configured, you are ready to connect to SQL Analysis Services data from the Power BI service.

Publish a Dataset from Power BI Desktop

Once you connect to SQL Analysis Services in Connect AI, you can create a dataset in Power BI desktop and publish the dataset to the Power BI service.

  1. Open Power BI Desktop and click Get Data -> Online Services -> CData Connect AI and click "Connect"
  2. Click "Sign in" and authenticate with your CData Connect AI account
  3. After signing in, click "Connect"
  4. Select tables in the Navigator dialog
  5. Click Load to establish the connection to your SQL Analysis Services data from Power BI

  6. Define any relationships between the selected entities on the Relationships tab.
  7. Click Publish (from the Home menu) and select a Workspace.

Build Reports and Dashboards on SQL Analysis Services Data in the Power BI Service

Now that you have published a dataset to the Power BI service, you can create new reports and dashboards based on the published data:

  1. Log in to PowerBI.com.
  2. Click Workspaces and select a workspace.
  3. Click Create and select Report.
  4. Select the published dataset for the report.
  5. Choose fields and visualizations to add to your report.

Live Access to SQL Analysis Services Data from Cloud Applications

Now you have a direct connection to live SQL Analysis Services data from the Power BI service. You can create more data sources and new visualizations, build reports, and more — all without replicating SQL Analysis Services data.

To get live data access to 300+ SaaS, Big Data, and NoSQL sources directly from your cloud applications, sign up for a free trial of CData Connect AI.

Ready to get started?

Learn more about CData Connect AI or sign up for free trial access:

Free Trial