March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have an Excel file with a many sheets in the same format.
How do I load and combine the sheets into this format
The sample file is here
Thanks
Solved! Go to Solution.
I have managed to get what I wanted by
1. Load all the sheets, 2 in this case, as one base table
2. Create a header table from the base table by retaining only the header rows and pivoting by Dept and Name
3. Create the data table from the base table by filtering off header records and merging the table with the header table above
I have managed to get what I wanted by
1. Load all the sheets, 2 in this case, as one base table
2. Create a header table from the base table by retaining only the header rows and pivoting by Dept and Name
3. Create the data table from the base table by filtering off header records and merging the table with the header table above
Hi, @gancw1
I was not able to open your link, but you can try this method.
New table:
Is this the result you expected?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you try this link instead
There can be many sheets so I need a way to do this without hardcoding the number sheets
I have updated the link. Can you try again
Hi @gancw1 - you can load and combine multiple sheets with the same format from an Excel file in Power BI.
you can use either append transformation in Power Query editor or all sheets you can combine together and invoke a custom transformation use it while doing always preview your data after each step to ensure it’s correctly loaded and combined.
Please share sample data, if still the process is not clear.
Hope it helps
Proud to be a Super User! | |
I know how to process and append the tables but not sure how to merge the 2 header fields with the table.
sample file here
https://docs.google.com/spreadsheets/d/1ccpdrj_thuwmvMCDvm6Kb7yPl_3ttYV4/edit?usp=sharing&ouid=10100...
User | Count |
---|---|
119 | |
78 | |
58 | |
52 | |
46 |
User | Count |
---|---|
170 | |
117 | |
63 | |
58 | |
51 |