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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Klokx
New Member

Group headers to create one master table

Hi Guys

 

I'm a novice when dealing with power query, I'm trying to create one master table from my set of data but the extracted data has mutiple tables grouped together, with misaligned header rows. Is there a easy way to reorganise the data to align similar headers together to form one master table. e.g. data is of three tables but normally have way more (+20) thanks.

 

Excel link: Excel document 

 

Data.jpg 

1 ACCEPTED SOLUTION
HotChilli
Community Champion
Community Champion

If you edit the Excel to insert a row between each 'table' then save it.

You can then connect to the Excel from powerbi.  A 'suggested tables' option will appear in the bottom left of the powerbi->Excel workbook connection screen. You can select all the suggested tables and Power Query will import them as separate queries/tables.

You can then Append Queries (from the Power Query interface - use the 2 or more tables option). Power Query will try and append all queries selected and union the column headings.

Give it a go.  

View solution in original post

1 REPLY 1
HotChilli
Community Champion
Community Champion

If you edit the Excel to insert a row between each 'table' then save it.

You can then connect to the Excel from powerbi.  A 'suggested tables' option will appear in the bottom left of the powerbi->Excel workbook connection screen. You can select all the suggested tables and Power Query will import them as separate queries/tables.

You can then Append Queries (from the Power Query interface - use the 2 or more tables option). Power Query will try and append all queries selected and union the column headings.

Give it a go.  

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.