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

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

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors