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
Julia_Mav
Helper II
Helper II

The model doesn’t have a table named…

Hi,

I have an error like this (please see attached). In my model, I do not have the table named liked Comparison Data Old 2. I only have Comparison Data Old (without a number). What should I do to fix it?

 

Thanks for your help!

4B10D6A6-A4A6-4846-9B86-B526826C1319.jpeg

2 REPLIES 2
Joris_NL
Helper III
Helper III

I had a similar problem and found the solution.

 

After an update in our database, I had to rename all my tables from ALL-CAPS to Normal-Caps. So following your example, I changed 'COMPARISON DATA OLD' to 'Comparison Data Old' - and renamed all corresponding query steps, column names etc. When trying to apply the query changes, I got the following error:

 

The model doesn't have a table named Comparison Data Old 2.

 

Even though the query didn't mention 'Comparison Data Old 2', and never did. I double checked this by copying the query to Word (or NotePad) and searched ctrl+f. No 'Comparison Data Old 2' ever existed in my entire file. Why it asked for number 2, I never found out, but I did find a solution.

 

First I added a new table, called 'Comparison Data Old 2'. This resulted in the error message saying:

 

The model doesn't have a table named Comparison Data Old 2 2.

 

So that wasn't going to work. The solution, however, was to change the name of the original 'Comparison Data Old' table to 'Comparison Data Old 2'.

 

This solved the issue and everything worked again - although I had to repeat this step for all other tables. Funnily enough, after applying the query changes I could change the name 'Comparison Data Old 2' back to 'Comparison Data Old' as if nothing ever happened.

 

Most software doesn't allow for multiple files with the same name, irrespective of caps. So when changing COMPARISON DATA OLD to Comparison Data Old, it might make a copy (number 2) behind the screens. Together with a database update, this might mess things up. But it's only a guess. 


Hope this helps for future troubleshooting!

 

Joris

Greg_Deckler
Community Champion
Community Champion

@Julia_Mav Looks like some query is referencing Comparison Data Old 2 so you will have to look at your queries and find which one of them has that reference (looks like 2 of them at least)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors