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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
namdron
Frequent Visitor

Normalize data after workbook tab merge.

I have a folder structure that contains workbooks; each with an 'export' tab.  I need to merge the 'export' tabs into a new worksheet.  I've figure out how to do this using the 'New Query' function in Power Query.  I have an issue in that each 'export' tab that is merged contains a row that is header type information.  It's in the form: 

5-14-2019 2-13-28 PM.jpg

So in reference to the picture, every 38 rows is a new 'export' tab.  From rows 4-38 are the weekly data.  Each 'export' tab section within the merged document has a different Site: <num> in the 1st, 39th, 39+38 rows ..... etc.

 

So my question.  How can I use the Power BI query editor to manipulate this data so that when I do a refresh the data gets transformed into the following: 

5-14-2019 2-19-16 PM.jpg

where the 'Site' column in the transformed data changed to match the correct Site ID number.

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @namdron 

I think if you need to Append your data not Merge.

https://support.office.com/en-ie/article/append-queries-power-query-e42ca582-4f62-4a43-b37f-99e2b2a4...

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors