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

All Columns are not getting selected from a table until Preview is refreshed

Hi All,
I’m getting a "missing column" error when i try to refresh a PBIX as the navigation step is not loading all the columns from a table during the initial refresh, due to which the later transformations are failing as the column name mentioned in the transformation are not loaded to power BI. But when I click refresh preview it brings back all columns and the error in later transformation disappears. Could anyone help here?

 

Also, I face this issue only while refreshing against a read only cluster in databricks.

 

Below are some of the options which I thought might work but it did not work in our case.

1. Clear cache and clear permissions

2. Used "Removed Other Columns/Select Columns" rather than "Remove columns" transformation.

Thanks in Advance,

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@PBI__User Hard to know specifically, sounds like a transformation drops the column but the column is referenced in a later step. Can you post the M code from Advanced Editor and name the offending column?



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

Hi @Greg_Deckler ,

 

Thanks for the response. Given below the steps in my power query. Could you please take a look?

1) Main query fetches all the tables in the selected schema (server details and schema name is passed as a parameter in this query)

PBI__User_0-1663785549753.png

2) All other queries/tables use the main query as source.

When I refresh, I get an error "The column Rank1 of the table was not found" as the rename step is referencing this column name. When I checked the previous step "DataTable" I couldn't see the column Rank1 in the result set though this column exists in the backend table. When I refresh preview "Rank1" column gets loaded and the missing column error disappears. This issue is not always on the same table, but occurs on different tables each time I refresh.

 

PBI__User_1-1663785908344.png

 

Thanks in advance,

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.