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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
piyushdadhich
New Member

Get list of all the reports that are using a particular SQL view from SQL query embedded in report

I have a some 100 reports in my 20 workspaces. Each report has some 10 tables. Many of the tables in those reports are pulling data from the data source using the SQL statement written in the query window. I got to change something for a particular view that is used in many of those queries used in reports.


How could i find all the reports that contain the SQL view i need change. I need the list of it. What is the best way to do this rather than searching manully each report and table in the report.

3 REPLIES 3
Shahid12523
Kudo Kingpin
Kudo Kingpin

Use Power BI Scanner API → extract dataset queries across all workspaces → search for your SQL view.

Alternatives:

PowerShell (Get-PowerBIDataset) to read queries.

Download PBIX and search inside (last resort).

Best: Scanner API for full list at once.

Shahed Shaikh
V-yubandi-msft
Community Support
Community Support

Hi @piyushdadhich ,

That’s a really helpful suggestion @GilbertQ , the Scanner API is definitely the best way to handle this, since it gives you all the metadata across workspaces in one place.

 

Just adding one note: you’ll need Power BI Admin rights to run the Scanner API. If you don’t have that access, you might need to loop in your admin. 

 

Thanks for your response @GilbertQ .

 

regards,
Yugandhar.

GilbertQ
Super User
Super User

Hi @piyushdadhich 

 

The Scanner API can extract all this information for you where once loaded, you can then use Power BI Desktop to interrogate the data and to find the tables and associated views for your reports. Here is a link on how to download the scanner API data. Which Power BI Reports do I have access to? - Part 1 – Using the power BI Scanner to get App Workspa...





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.