March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi i need a help
we have Power BI reports in services
we are using multiple data source like sharepoint, snowflake ,sql
and we need to create a report like how many reports are using snowflake as a datasource and how many users using it and their names
Solved! Go to Solution.
Hi @dileepkumar ,
The fastest way is to call the scan restful api of power bi.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result
You can find the corresponding semantic model through the data source id.
And it will return the users who use this semantic model.
Similarly, you can get the report and the list of users who use the report based on the Dataset ID.
Best Regards,
Wearsky
Hi @dileepkumar ,
The fastest way is to call the scan restful api of power bi.
https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result
You can find the corresponding semantic model through the data source id.
And it will return the users who use this semantic model.
Similarly, you can get the report and the list of users who use the report based on the Dataset ID.
Best Regards,
Wearsky
Hi @dileepkumar ,
If you have your pbix files then you can create a python script to convert it to a zipfile and scan through the metadata and get those details to a dataframe and finally you can save it to a CSV file.Even the same method you can make it work for dataflow json files.
I hope it will be helpful.
Thanks,
Sai Teja
Hi sai teja thanks for your responce do we have any sample or any document or video to reffer how to convert into python script
HI @dileepkumar ,
You can use the Power BI REST API here: Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn
For your request specifically, look at the "Datasets" section.
Proud to be a Datanaut!
Private message me for consulting or training needs.
Thanks for your responce i will go throuht it
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
37 | |
32 | |
20 | |
11 | |
8 |
User | Count |
---|---|
52 | |
42 | |
28 | |
12 | |
11 |