The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I have 3 Excel tables I want to combine into 1. Each excel table has one common column. When I tried to do this by just creating relationships it only allowed me to add sheet A and B to the visualization, when I tried to incluce sheet C everything went blank. I also need to be able to add slicers that let the user filter the data. I will how what I would like the final powerBI table to look like as well as the excel files. Bolded are the common columns
Sheet 1 A | Sheet 1 B | Sheet 1 C | Sheet 1 D | Sheet 1 E |
Sheet 2 A | Sheet 2 B | Sheet 2 C |
Sheet 3 A | Sheet 3 B | Sheet 3 C | Sheet 3 D |
Final Visualization
Sheet 1 A | Sheet 1 B | Sheet 1 C | Sheet 1 D | Sheet 1 E | Sheet 2 B | Sheet 3 B | Sheet 3 D |
Solved! Go to Solution.
Hi @Anonymous ,
Perhaps you can do this by doing the following:
1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):
2.Modify the M code by changing the second argument to "true" (prevents repetition of column headers)
3.In the Data column, click the Expand icon (double arrow) & Uncheck "Use original column name as prefix".
Here's a similar case and a detailed explanation of how to do it.Combining Data From Multiple Worksheets Into one table
Hope it helps,
Community Support Team _ Caitlyn Yan
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Perhaps you can do this by doing the following:
1. After connecting to the spreadsheet, right-click the file name and select Transform Data (don't select each individual sheet):
2.Modify the M code by changing the second argument to "true" (prevents repetition of column headers)
3.In the Data column, click the Expand icon (double arrow) & Uncheck "Use original column name as prefix".
Here's a similar case and a detailed explanation of how to do it.Combining Data From Multiple Worksheets Into one table
Hope it helps,
Community Support Team _ Caitlyn Yan
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.