Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi everyone,
I wanted to share a scenario and see if anyone has encountered a similar issue or found a solution.
I need my data source to point to a folder where I save Excel files as I receive them. However, if a column header name changes or a column is removed in one of the Excel files, it causes an error during data refresh, such as "Column Name not found."
I found a workaround for column name changes by creating a list of column headers and associating a number with each column, as demonstrated in this video: Refresh breaks due to COLUMN NAME CHANGES? 3 ways to fix changing column headers in Power BI! - YouT.... Credit to "@HowtoPowerBI" for this method.
The problem arises when using a folder as the data source. New data from files added to the folder does not appear.
Has anyone experienced this issue and found a workaround?
Thanks!
Solved! Go to Solution.
I've run into a similar issue when working with dynamic Excel imports in Power BI. One approach is to use Power Query's Column Renaming Mapping to create a lookup table. You can maintain a reference table with expected column names and apply a transformation to match them during the import process.
For missing columns, you can modify the Transform Sample File step in Power Query and use Table.AddColumn to add placeholder columns when they’re missing. Another option is to Table.SelectColumns with MissingField.UseNull to allow Power BI to ignore missing columns rather than failing the refresh.
Since you're working with a folder source, make sure the Combine Files function is properly set up to handle schema variations. Also, if new files aren’t appearing, check whether the Transform File from Folder step is filtering out certain files due to unexpected metadata changes. You might need to review your applied filters and remove any that restrict data import.
I've run into a similar issue when working with dynamic Excel imports in Power BI. One approach is to use Power Query's Column Renaming Mapping to create a lookup table. You can maintain a reference table with expected column names and apply a transformation to match them during the import process.
For missing columns, you can modify the Transform Sample File step in Power Query and use Table.AddColumn to add placeholder columns when they’re missing. Another option is to Table.SelectColumns with MissingField.UseNull to allow Power BI to ignore missing columns rather than failing the refresh.
Since you're working with a folder source, make sure the Combine Files function is properly set up to handle schema variations. Also, if new files aren’t appearing, check whether the Transform File from Folder step is filtering out certain files due to unexpected metadata changes. You might need to review your applied filters and remove any that restrict data import.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
37 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |