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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Can't find column on Refresh

Hello to all!

 

I've spent hour already looking into this and someone here can give me some light. 

 

I have a Power BI report that uses an Excel (used by 7 people through OneDrive Sahring) spreadsheet as a datasource. A couple of days ago the automatic refresh showed an error saying it couldn't find a specific column on the table.

 

The problem is: The column is there! I am looking right at it and the name is correct.

 

I tried everything I know but couldn't fix this. Any help is appreciated.

 

Best and stay safe.  

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@Anonymous Can you post at least the start of your query using Advanced Editor? Perhaps someone inserted a column in the Excel spreadsheet and depending on how the code is written perhaps you are now not grabbing that column initially?



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...

View solution in original post

Anonymous
Not applicable

Thanks to Greg's insight, I was able to fix this by using the Advanced Editor and deleting the "#(lf)" from the name of the column that was presenting error in all steps in which it appears. 

I was not familiar with this function nor with the M language tha PBI uses to create the tables. Good learning experience. 

 

Best and Stay safe everyone!

View solution in original post

6 REPLIES 6
Greg_Deckler
Community Champion
Community Champion

@Anonymous Can you post at least the start of your query using Advanced Editor? Perhaps someone inserted a column in the Excel spreadsheet and depending on how the code is written perhaps you are now not grabbing that column initially?



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

Hey there, 

 

I did a little digging on my own and figured what the Advanced Editor is (never used it beffore). Here are some pics of the code and a highlight of the columns presenting the error. 

KawanMarcellus_0-1615984383767.png

KawanMarcellus_1-1615984440027.png

 

One thing that calls my attention is the "#if" in the middle of the column header. I'm not familiar with the syntax of this code, so couldn't tell what this should mean. 

Best,

 

Anonymous
Not applicable

Thanks to Greg's insight, I was able to fix this by using the Advanced Editor and deleting the "#(lf)" from the name of the column that was presenting error in all steps in which it appears. 

I was not familiar with this function nor with the M language tha PBI uses to create the tables. Good learning experience. 

 

Best and Stay safe everyone!

Anonymous
Not applicable

Hello Greg,

 

I apologize but I'm not sure I understand what you mean. I did not use any code to create the table in Power BI, I simply imported it from Excel.

 

Best, 

rajendraongole1
Super User
Super User

Hi

File -> Options and settings -> Options -> Data Load -> Clear cache

 

Try this approach in PBI Desktop and refreshing again.

 

still facing the problem just try to check the data source clear permission and reconnect the data source once more time. 

 

Try and let know still issue persists.

 

Regards,

Rajendra





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

Hello Rajendra, 

 

This didnt work, but at least it changed the error a bit. Now for one of the sheets in the excel file it says it is looking for a column "Spent Time _x000D_ (Decimal)". I have no idea where this _x000D_ came from.

Thanks

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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