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

Be 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

Reply
jaqcues
Frequent Visitor

Unpivoting & appending multiple workbooks

Hi,

 

I need to consolidate a large number of workbooks, about 30 or so, into one file

The problem is the data layout the files are coming in.

 

They are laid out like so, with date and unit of measurement ($ and QTY) in columns:

 

jaqcues_2-1666842974724.png

 

I want it unpivoted like so:

jaqcues_1-1666842939140.png

 

This would be easy if date & UOM were already merged in one cell, but since they are not, unpivoting just puts date & unit of measurement at the top of the new table.

 

Link to an example file with current extract layout and desired layout is here 

 

Any guidance would be much appreciated!

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hi @jaqcues 

 

For the file you provided, please check the attached file.

But the trasnformation I did is not dynamic.

This is to give you an idea.

mussaenda_0-1666844797813.png

 

If you still need help, please let me know.

 

Hope this helps.

View solution in original post

2 REPLIES 2
mussaenda
Super User
Super User

Hi @jaqcues 

 

For the file you provided, please check the attached file.

But the trasnformation I did is not dynamic.

This is to give you an idea.

mussaenda_0-1666844797813.png

 

If you still need help, please let me know.

 

Hope this helps.

Thanks for your time! This solution did work 🙂

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.