You are on page 1of 13

Report from Azure Data Explorer

in Power BI
In this article we are going to see how to use Power BI to connect to azure Data Explorer
Database and build some report on it.

Power BI Desktop will be used in this article.


Azure Data explorer have his own visualization feature called Dashboards. Here is a sample
Dashboard.

So, you can do more with Azure Data Explorer visualization capabilities.

Now it about time to look at Power BI how to bring Explorer Database into Power BI Desktop.
We are going to these steps:
- Connect to Azure Data Explorer with Power BI connector
- Make some transformation in Power Query
- Create a Data model
- Create some visualizations
- Publish and schedule automatic refresh in Power BI service

Connect to Azure Data Explorer form Power BI


Desktop
1. Launch Power BI Desktop and at the top menu, select Home and then Get data and
select more button.

2. From the dialogue box in the search, tip Azure Data Explorer and click connect
3. On the Azure Data Explorer (Kusto) dialogue box, entre the cluster and database name.
You can find it from Synapse Management Hub, Analytics pool, Data Explorer pools properties.
Use Data connectivity mode Import.
4. Select connect to open the navigator dialogue box

5. Select the table you need to load and then Transform Data button to open Power Query
Editor, where you can edit rows and columns, make transformations before import your
data into Power BI.
Make some transformation in Power Query
6. In the Power Query Editor lets check all tables and change the right data type
a. Sales table

b. Product table

c. Customer Table
7. On the Home menu at Close section select Close & Apply button

8. Create relationship between tables

At this step you can enhance your model by adding measures and calculated columns.
Format measures etc.…
9. Add Date table (Calculated)

Create a report with visuals


10. On the left side at visualization pane, we have all supported (standard visualization Power BI
have)
11. Save the report with a name you wanted here you use AzureDataExplorer as name.
Publish the report in Power BI service

12. Select a workspace and then select to publish in the Power BI Service.
13. In the service select the workspace where the report was published and launch it

14. Select the top right three dotes and in the drop, list select Open lineage view
15. From the dataset perspective select file and then Setting

16. Go to Setting and provide correct credentials to setup the automatic refresh
17. Provide the authentication method and Privacy level setting as organizational

Select from Scheduled refresh active On refresh frequency Time zome time
Conclusion:
It is very easy to connect, get data, build a data model and report with Azure data
Explorer and Power BI. You can quickly take advantage of the Azure Data Explorer
capabilities to handle your streaming data, put schema on it and share indicators in your
organization with Power BI service.
Azure Data Explorer is actually in a preview version , so for production purpose wait for
the GA version.

You might also like