Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi I have a folder with excel files that have multiple sheets in them which holds the same data table structure and I need to consolidate them.
I approach this as I do with normally - get data > folder > transfrom data > filter folder > combine files.
However the combine file query for the lastest file as a sample file shows no data.
When I load just that excel file alone data shows up.
have pressed refresh preview multiple times but doesn't change anything. It doesn't make sense to me that the single excel loads fine but not the sample file for the folder.
Is there another approach I could do so that I can consolidate all the sheets for all excel file?
I'm open for any suggestions as long as it produce desired result.
Thanks in advance.
Solved! Go to Solution.
@Anonymous
I guess you use the button in Content column? If so, add a custom column instead, combine the tables in Custom column. Let me know if it is not the case.
@Anonymous
I guess you use the button in Content column? If so, add a custom column instead, combine the tables in Custom column. Let me know if it is not the case.
Hi there I have done as you mentioned and expanded the custom column. This was good for filtering all the sheets I need. Brillant!
I am use to expanding the Content header and using the sample file to clean up data... so mynext road block is how would i remove rows which are headers and where files meet like so:
Hi @Anonymous
Can you promote the header before combining them? If you filter down to the tables/sheets you need, then promote header first...assume your headers are all the same for all the tables/sheets you want to combine
Or you can filter out the header later
I figure just to use the date column and filter out anything with text
Hello,
Can you please check if the files that your are using from within the folder have same structure for all of them?
Also, please share your Advanced Editor code for both the above cases to take a deeper look.
Hi you are correct the order of the sheets have changed over time due because of renaming the "Dalgety" sheet to "Landing" - to reflect real life changes.
Is there a way I can dynamically look for these two sheets and merge them as one in power query?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
6 | |
6 | |
6 | |
5 |