cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Power Query - Transform all sheets into a common Format and then Append

Hi Team,

I have multiple excel sheets with data sample as below:

amitkumar93_0-1657003195302.png

 

I have created a common format in Power query as this:

amitkumar93_1-1657003258787.png

 

When i am adding all sheets from a folder, i want all the sheets to be transformed into the header format and then append.
If i am doing the transformations for current 2 sheets, how can i make sure that if i add other sheets into the folder in future that would transformed automatically into same format.

Thanks
Amit

1 ACCEPTED SOLUTION
PurpleGate
Resolver III
Resolver III

Hi, 

 

I have had a similar task, my solution was the following:

All my excel files were in a Sharepoint folder.

 

 

1. Connect to folder system

 

2. Navigate to folder that contains all the excels

 

3.  Expand Content

 

PurpleGate_0-1657020972888.png

 

4. Delete all the applied steps that appear when you expand content until you get back to step "Transform File" 

PurpleGate_1-1657021060277.png

 

5. Expand Transform file

PurpleGate_2-1657021118411.png

 

6. Make the headers exactly how you want it. 

 

Then, when you have new excels added into that folder, they automatically append themselves under the same headings.

 

 

 

And your Powerbi makes some fun helper queries for you automatically.

PurpleGate_3-1657021204647.png

 

View solution in original post

3 REPLIES 3
KT_Bsmart2gethe
Impactful Individual
Impactful Individual

Hi @Anonymous ,

 

I have a video explaining how to append multiple files with different file formats.

 

https://www.youtube.com/watch?v=K9IB9bLxEXo

 

Regards

KT

PurpleGate
Resolver III
Resolver III

Hi, 

 

I have had a similar task, my solution was the following:

All my excel files were in a Sharepoint folder.

 

 

1. Connect to folder system

 

2. Navigate to folder that contains all the excels

 

3.  Expand Content

 

PurpleGate_0-1657020972888.png

 

4. Delete all the applied steps that appear when you expand content until you get back to step "Transform File" 

PurpleGate_1-1657021060277.png

 

5. Expand Transform file

PurpleGate_2-1657021118411.png

 

6. Make the headers exactly how you want it. 

 

Then, when you have new excels added into that folder, they automatically append themselves under the same headings.

 

 

 

And your Powerbi makes some fun helper queries for you automatically.

PurpleGate_3-1657021204647.png

 

Anonymous
Not applicable

Hi @PurpleGate 

You are a Lifesaver.

I implemented your logic and that works like wonder.

Thanks 🙂
Amit

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors