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

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

Reply
tracyhopaulson
Resolver I
Resolver I

how to get a list of all SQL tables used in Power BI?

Hello all,

Is there a way to find out all the SQL tables that are currently used in Power BI?  Thanks

1 ACCEPTED SOLUTION

Hi @tracyhopaulson ,

 

You can use SQL Server Profiler to view query send to sql server from Power BI to find out tables used in report.

Capture6.PNG

 

Create a trigger in sql server profiler and refreshing data in power bi desktop :

 

Capture7.PNG

 

If this post help, please consider accept it as the solution to help other member find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

7 REPLIES 7
amitchandak
Super User
Super User

@tracyhopaulson ,

Not Pretty Sure. But see if this blog can help

https://radacad.com/get-list-of-queries-in-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  Not really! I have a few hundreds of Power BI reports and would like to know which SQL tables are being used for them.  The only way I know is to open every single report to get the table information, which is time consuming and not very efficient.  If you or anyone have better suggestions, please share.  Thank you in advance for your help.

It might be easier if you generate a file that has all the queries going to the server from all the refreshes and then parse out the table names from FROM part of all the queries.

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Good suggestion, but how do I get this list from the refreshes?

 

Hi @tracyhopaulson ,

 

You can use SQL Server Profiler to view query send to sql server from Power BI to find out tables used in report.

Capture6.PNG

 

Create a trigger in sql server profiler and refreshing data in power bi desktop :

 

Capture7.PNG

 

If this post help, please consider accept it as the solution to help other member find it more quickly.

 

Best Regards,

Dedmon Dai

Hi Dedmon, thank you so much for the information.  I will share with our I.T. person for further assistance and let you know if we run into issues or have more questions.

I am not a DBA but assume there is a way the DBA (you?) could monitor the incoming queries to the database.  There is not an easy way to do it w/ Power BI.  I have never done it but it may be possible to extract the queries from each pbix file (they are basically zip files).

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.