Connecting to Microsoft Power BI through DAX
Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace  Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
Kyvos semantic models can now be connected from Microsoft Power BI through Data Analysis Expressions (DAX) connectivity. You can run DAX queries on the Kyvos semantic model for accelerated analysis on Power BI. Additionally, you can use DAX functions to create calculated measures. Furthermore, it also supports row-level security for Power BI.Â
Note
The Microsoft Power BI SSAS connector only supports Windows authentication. Therefore, configuring Windows Authentication in Kyvos is mandatory to use the Microsoft Power BI SSAS/DAX connector.
Connecting Kyvos semantic models to Power BI through DAX
To connect Kyvos semantic models to Power BI through DAX, perform the following steps.
Open the Power BI Desktop application.
On the Home ribbon, go to Data and select Get Data > Analysis Services.
The SQL Server Analysis Services database dialog box is displayed.ÂHere, enter details as:
Server: This is the server URL. Enter as http://<ServerName>:<port>/<kyvos>/xmlaKyvosSSO?version=v2
Here,
<ServerName> is the IP address or Hostname
<Port> is the port number on which the Kyvos Web Server resides
<kyvos> is the web app name
<v2> represents DAXDatabase: Provide the Database name, which is your Kyvos semantic models folder name.Â
NOTE: Skipping the database name will prompt the application to search for the cube in the Root folder. The application will establish a connection if the cube is located in the Root folder. Otherwise, an error message is displayed.Â
Choose the Connect live mode and click OK.
Once the connection is created, you will see the list of Kyvos cubes in the Navigator section on the left. Select the semantic model that you want to browse and click Ok.
After loading the semantic model into Power BI, you will see the Kyvos semantic model in the Data section on the right. This allows you to view and access data from the semantic model quickly.
Configuring Gateway on Power BI ServicesÂ
A workbook created on the public cluster does not require a gateway.
If you want to publish the same Kyvos dashboards (created on Kyvos cubes) to Microsoft Power BI Services, you must configure a gateway, as explained below.
Requirements
Minimum requirements
.NET Framework 4.7.2 (Gateway release December 2020 and earlier)
.NET Framework 4.8 (Gateway release February 2021 and later)
A 64-bit version of Windows 8 or a 64-bit version of Windows Server 2012 R2 with current TLS 1.2 and cipher suites
4 GB disk space for performance monitoring logs (in the default configuration)
Recommended
An 8-core CPU
8 GB of memory
A 64-bit version of Windows Server 2012 R2 or later
Solid-state drive (SSD) storage for spooling.
Step1:Â Download the Gateway InstallerÂ
Step 2:Â Install an on-premises data gateway | Microsoft Docs
Step 3: Use the on-premises data gateway app | Microsoft Docs Â
Step 4: Add a data sourceÂ
To add a data source, perform the following steps.Â
Open the Power BI Desktop application.Â
On the Home page, in the upper-right corner of the Power BI service, select the Settings icon,  then Manage connections and gateways .Â
Click the New icon to add a new data source. Â
On the New Data source dialog box, enter details as:
Gateway cluster name:Â Select from the available list.
Data source name:Â Provide a name.
Data source type:Â Select the Analysis Services option.
Server: Enter Kyvos server DAX connection string in the http://<ServerName>:<port>/<kyvos>/xmlaKyvosSSO?version=v2
Here,
<ServerName> is the IP address or DSN name of your Kyvos server
<Port> is the port number on which Kyvos listens
<kyvos> is the web app nameDatabase: Provide the database name.
Authentication Method: Select the Windows option as the authentication method
User/Password: Provide the user name and p assword to connect to the Analysis Services instance. The gateway uses the information you enter for the user name and password to establish a connection with the Analysis Services instance.
NOTE: To create a user name, you need to include both the domain name and the required user name.
General: Configure the Privacy level  for your data source. By default, the Organizational option is selected. You can select the required option as needed. Â
Map Usernames: Select the EffectiveUserName option. By selecting this option, the Kyvos database will use the logged-in user name of the Microsoft Power BI services to retrieve the data.
Prior to using the EffectiveUserName option, y our email address, which is used for Power BI services, must be configured with Kyvos users. See the Users section for more details.Â
After you complete all the fields, click Create.Â
Related topics:Â
Copyright Kyvos, Inc. All rights reserved.