Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

undefined

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

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

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

vxiaocliumsft_0-1730706050971.png

You can find the corresponding semantic model through the data source id.

vxiaocliumsft_1-1730706144454.png

And it will return the users who use this semantic model.

vxiaocliumsft_2-1730706201289.png

 

Similarly, you can get the report and the list of users who use the report based on the Dataset ID.

vxiaocliumsft_3-1730706365507.png

 

Best Regards,

Wearsky

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

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

vxiaocliumsft_0-1730706050971.png

You can find the corresponding semantic model through the data source id.

vxiaocliumsft_1-1730706144454.png

And it will return the users who use this semantic model.

vxiaocliumsft_2-1730706201289.png

 

Similarly, you can get the report and the list of users who use the report based on the Dataset ID.

vxiaocliumsft_3-1730706365507.png

 

Best Regards,

Wearsky

SaiTejaTalasila
Super User
Super User

Hi @Anonymous ,

 

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 

Anonymous
Not applicable

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 

collinq
Super User
Super User

HI @Anonymous ,

 

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.

 

 




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Anonymous
Not applicable

Thanks for your responce i will go throuht it 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors