Visualizing Xperience data in Power BI
Microsoft Power BI is a suite of business analytics tools that allow you to analyze and visualize data. You can use Power BI to process any data stored in the Xperience database (for example, the information and statistics collected by Xperience on-line marketing features, such as Contact management, Email marketing, or Web analytics).
By default, the Xperience Power BI reports package provides 25+ Power BI reports that allow you to visualize and analyze the performance of your email marketing campaigns. This includes a detailed analysis of email opens, clicks, and link performance.
Use the following process to work with Xperience data in Power BI:
- Prepare reports in Power BI Desktop
- Publish the reports to the Power BI service
- (Optional) Set up a Power BI Personal Gateway to handle refreshing of your data
Preparing reports in Power BI Desktop
We recommend using our predefined email marketing template as a starting point for all Power BI reports that contain Xperience data:
- Download and install Power BI Desktop.
- Download the Xperience Power BI reports from the Kentico Marketplace. Select the version matching your Xperience instance.
- Extract the pbit template file from the package and open it in Power BI Desktop.
- Fill in the database connection parameters:
- Server – the name of the SQL server hosting your Xperience database.
- Database – the name of your Xperience database on the given server.
- Click Load.
- Approve the running of native queries by clicking Run.
- Fill in credentials that have access to your Xperience database and click Connect.
- If necessary, allow access to the data source using an unencrypted connection (click OK).
- Click Save and save the result as a new Power BI File (*.pbix).
The file is now configured and the reports display data from your Xperience database. You can adjust the report content according to your own requirements.
If you wish to work with other types of reports than the default ones for email marketing, developers need to create new queries that load the required data from the Xperience database.
Publishing reports to the Power BI service
After you prepare a Power BI Desktop file (pbix extension) that suits your requirements, deploy it to the Power BI service (https://app.powerbi.com/). The cloud-based service allows users to access the data and reports from anywhere.
For detailed instructions, please see Get data from Power BI Desktop files in the Power BI documentation.
Refreshing report data
As your Xperience websites run and evolve, the data visualized by your Power BI reports changes. To ensure that the content of your reports is up-to-date without the need to manually republish your Power BI Desktop file, we recommend setting up automatic data refresh.
Requirements
- Power BI Pro
- 64-bit Windows operating system
- Install a Power BI Personal Gateway on a machine with access to your Xperience database.
- Schedule a refresh in Power BI.
- Make sure the machine with your Personal Gateway is running and available at the scheduled refresh times.
For detailed instructions, please see Power BI Gateway - Personal in the Power BI documentation or the related video.