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
pbi_20
New Member

Table name change causing relationship error. Does anyone know how can I debug this?

I started getting this error as soon as I changed the name of the table in Power Query Editor. I am unable to find what relationship is this referring to. Can anyone please help on this error? 

pbi_20_0-1730828666510.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @pbi_20 ,

 

The possible causes of incorrect table relationships after the table name is changed are as follows.

  • Other queries or data models that depend on the table may not be updated synchronously.
  • When the table name is changed, the original reference may become invalid, resulting in a reference error in the query or data model.

There are a few methods for your reference.

  • After you change the table name, make sure that all queries and steps that reference the table are updated.
  • After modifying the table name, click "Refresh Preview" on the "Home page", then click the table with yellow error, select "Go to Error", and finally select the newly named table in the navigation interface.

If the error still exists, I recommend that you keep the original table name as lbendlin mentioned.

 

Best regards,

Mengmeng Li

lbendlin
Super User
Super User

Add the column [FISCAL YEAR] back into your dimYear table, or delete the relationship.

Thank you so much for helping out. Apparently, I had to change the name of the dimYear table to Fiscal Year and then I was able to change the name of the table that was referencing to dimYear. But, this deleted all the relationships and PBI set it as a new table. I had to establish all the connections and build visuals again. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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