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
wwii
Frequent Visitor

copied code from a view, then recreated the view, then errors

powerbi error.PNG

 

Data source should be the same, and I keep all the "advanced editor" codes. 

When I click "Fix This", the window will vanish. 

Can anyone tell me why this happens, and what is the way to fix it? 

 

Thank you.

 

 

 

 

3 REPLIES 3
Seth_C_Bauer
Community Champion
Community Champion

@wwii I think I just encountered this same thing today. It would appear that the field names are tied directly to the table and there is an underlying reference included. What I mean, is that just because the table name is the same, doesn't mean the fields in the visuals will automatically know you put a new replacement table.

As an example: You have a table 'Sales', but it most likely is 'Sales1' and when you delete the first table and re-create the view it is 'Sales2'... so all the fields in your visuals will break because you deleted the 'Sales1' table.

This is purely just observed behaviour when I replaced a table today, and some educated guessing as to why all the visuals fail to work.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Thanks. That Make sense. 

If so, do I have to redo or re-drag every columns into the existed template, after I redirect my data souce to a new view?

 

wy

@wwii Unfortunetely that is what I had to do. So yes.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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