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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Syndicate_Admin
Administrator
Administrator

How do I know if a sql query is being used in more than 1 table

Hello everyone,

I hope you can help me or guide me, I am a beginner in PBI, I am going to explain my problem, currently I have a dashboard, where the tables are created from a sql query, when I go to the transformation stage to see the queries I see 4 tables each with their respective queries but the ones that interest me are 2 (my job is to synplify those 2 tables) when I go to the modeling part I only see 1, my question is how can I know if the tables that querys are pulling and if they are actually all being used, so that I can then debug.

I will be very grateful for your help.

Best regards

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Thank you very much, I did it just as you indicated

Brunner_BI
Super User
Super User

You can use external tools for Power BI like Measure Killer to find where columns/measures or tables are referenced.

------------------------------------
Brunner BI focusing on Microsoft Power BI development and consulting
Developers of external tool "Measure Killer"
My blog
marcelsmaglhaes
Super User
Super User

Hey @haznaran

 

If there are tables that you don't see in the Model view, they might not be used. However, it's important to verify whether the queries in the Power Query Editor that you don't see in the Model view are not used to generate other queries.

 

To do this, open the Power Query Editor and inspect the first step of those queries. Check if they reference another query in your Power BI file. If they do, it means they are contributing to the generation of other queries or data tables in your report. If they don't reference other queries and appear standalone, they may not be actively used in your report's data model.


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



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.