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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Rhothgar
Helper IV
Helper IV

Query / Table deleted but causing error in another query? 2 hours going around in circles.

Hi

This quandry has absolutely driven me nuts for the last 2 hours so I'm off to bed.

I cannot locate the issue. 

Merged_Order_PL has been deleted.   I have tried saving the file, closing the file, clicking Refresh All, all to no avail.  You can see the left hand queries contains 25 queries but the content contains 27!!!  Number 3 and 27 should not be there.

There is NO data quality indicator below the Content column so I cannot remove Errors!

How do I resolve this please?

And I thought I had learned so much this week.  Now it seems my understanding has crashed back to Square One.  So frustrated,Driving me nuts.PNGDriving me nuts 2.PNG

1 ACCEPTED SOLUTION
Akash_Varuna
Super User
Super User

Hi @Rhothgar As mentioned By @SamanthaPuaXY It might be because of caching please try to filter them out

Add a Filter in the Query:

  • Locate the step in your query where the list of tables is displayed (usually after the "Source" or "Navigation" step).
  • Add a filter condition to exclude the unwanted tables
  • Example M code :

 

 

FilteredTables = Table.SelectRows(Source, each [Name] <> "Number 3" and [Name] <> "Number 27")​

 

 

Apply the Filter:

  • Right-click the "Name" column in the query editor.
  • Choose Text Filters > Does Not Equal and specify the table names you want to exclude.

Refresh the Data:

  • After applying the filter, refresh the query to confirm that only the necessary tables are loaded.

View solution in original post

3 REPLIES 3
Rhothgar
Helper IV
Helper IV

Many thanks to you both.

I tried to give kudos and accept both solutions.

Akash_Varuna
Super User
Super User

Hi @Rhothgar As mentioned By @SamanthaPuaXY It might be because of caching please try to filter them out

Add a Filter in the Query:

  • Locate the step in your query where the list of tables is displayed (usually after the "Source" or "Navigation" step).
  • Add a filter condition to exclude the unwanted tables
  • Example M code :

 

 

FilteredTables = Table.SelectRows(Source, each [Name] <> "Number 3" and [Name] <> "Number 27")​

 

 

Apply the Filter:

  • Right-click the "Name" column in the query editor.
  • Choose Text Filters > Does Not Equal and specify the table names you want to exclude.

Refresh the Data:

  • After applying the filter, refresh the query to confirm that only the necessary tables are loaded.
SamanthaPuaXY
Helper II
Helper II

Hi @Rhothgar ,

 

Those tables could have been cached hence still showing up. A quick way is to just filter it away using the name instead

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.