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

Refreshing a Data Source with Missing Column

Hello, I'm trying to replace one of my data sources in my Power BI dashboard.  My original data source has columns A, B, C, and I would like to replace it with a data source that only contains columns A and C (new version of the report no longer contains Column B). Is there a way to replace it without having an error because column B is missing. Thanks!

1 REPLY 1
lbendlin
Super User
Super User

Learn about the difference between Table.RemoveColumns and Table.SelectColumns  (hint - use the latter)

 

There are also Power Query techniques to handle "MissingColumn"  - but these are more advanced.

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.