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
Anonymous
Not applicable

Getting error while refreshing the data

Hello Community,

 

I am getting below error while refershing the data, Actually I have renamed table name and remove the few columns from excel and create the measured within pbix for the removed columns.

 

Can anyone help me on this.Cost sheet error1.JPGCost sheet error.JPG

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi Maruti_K,

This is casued by the modification in Edit Queries. When you modify the data in Excel and refersh  the dataset, but the  M code in Eidt Queries don't change, it still refer to original column name, so  you will get error. You need to check the applied steps one by one to find error steps and change the M code to refer to correct column name or steps. Then when you refresh , it should work.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
dax
Community Support
Community Support

Hi Maruti_K,

This is casued by the modification in Edit Queries. When you modify the data in Excel and refersh  the dataset, but the  M code in Eidt Queries don't change, it still refer to original column name, so  you will get error. You need to check the applied steps one by one to find error steps and change the M code to refer to correct column name or steps. Then when you refresh , it should work.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.