Connecting to Microsoft Power BI through Spark SQL
Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace  Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
To retrieve the Kyvos semantic model data in Power BI, perform the following steps.
Open the Power BI Desktop application. Under Get Data, click the More option.
Search and select Spark in the Get Data list. Click Connect.
In the Spark Connection dialog box, enter the required details.
Example: ServerName or IP:Port/kyvos/sqlChoose HTTP Protocol.
Choose Direct Query mode and click OK.
The Import mode extracts the data from the Kyvos semantic model and pulls it into the Power BI Desktop.
We recommend the Direct Query mode as it leaves data in the semantic model and sends queries to Kyvos to pull the needed information, so you can query data without any data movement time.
Enter your Kyvos credentials and click Connect.
In the Navigator, search and select a semantic model name and wait for the preview. After the preview completes, click the Load option to load the semantic model.
Points to remember
If your data source is available accessible to the Power BI Services, you will not need to configure a gateway connection. Otherwise, you must configure the gateway as explained below:
While creating a semantic model in Power BI similar to a Kyvos semantic model design, remember:
Power BI lists all the attributes/levels/measures as Fields, so you cannot differentiate between the dimensions and measures defined in the semantic model.
You cannot organize fields as attributes and hierarchies inside a group or folder to represent a dimension.
You cannot define default summary functions for measures in Power BI.
Once you have connected to Kyvos semantic models through Power BI, you can Creating Kyvos Semantic Layer in Power BI and publish.
Power BI Spark SQL -Known limitation
You may encounter the following limitations when performing data analysis and visualization tasks after setting up Spark SQL connectivity in Power BI. These will be fixed in the upcoming versions.
You cannot apply a measure filter if that measure is not part of the Kyvos visualization. To do so, you need to create a calculated measure using the desired measure, and then you can use that calculated measure in the filter. This is required because when we place the measure in the filter, it sends an unaggregated query to the Kyvos.Â
Kyvos does not support conditional formatting using the 'field value' format styleÂ
Following Kyvos features are not supported:Â
Scope Script
Unconditional Masking
Default Member Script
Key influencer is not working. This is a known limitation of Power BI on direct query. For more information, see Microsoft Power BI documentation.Â
Conditional formatting for the field value and icons is not working due to Power BI handling issue.
Sorting of month is not displaying as per the nomenclature because Power BI itself handles sorting.
Power BI generates queries in a such way due to which a user might get data inaccuracy or may get extra records in the case of topN query.
Copyright Kyvos, Inc. All rights reserved.