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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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