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
rbech
Regular Visitor

Multiple queries transformations VS one big query transformation

Hi Guys !

I have to collect, transform and visualise 14 folders with 1 xls sheet uploaded by days. Each sheet has approximatively 86K rows (timeseries "per second"). Unfortunately the columns are not really the same in every folders (so I can combine files only by folders). So I have initialy 14 requests in Power Query and I created a Datetime table for filtering datas. I've already cleared the data in each requests.

 

I have to pivot tables to get datetime, variable (=columns in the xls) and value columns. I will publish an app to share visualisations (based on measures) with the customer. (fyi I canot use dataflow in power service). 

My question is, what is the more efficient in Power Query :

1.Unpivot separatively every requests (tables) and then combine them in a synthetic table based on the datetime.
2. Combine every requests (tables) in a synthetic table based on the datetime and then unpivot the synthetic table.
3. Any other recommendation ?

Thank you for your help !

1 ACCEPTED SOLUTION
AmiraBedh
Super User
Super User

For your scenario in Power Query, in my opinion the most efficient approach would likely be to combine the tables first and then unpivot the combined table since you want to reduce redundant transformations across multiple tables.

You can start by combining tables by folders using Table.Combine, performing initial transformations such as removing unnecessary columns on these combined tables.

Once the data is combined and cleaned, use Table.Unpivot to transform it into the desired format. 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

1 REPLY 1
AmiraBedh
Super User
Super User

For your scenario in Power Query, in my opinion the most efficient approach would likely be to combine the tables first and then unpivot the combined table since you want to reduce redundant transformations across multiple tables.

You can start by combining tables by folders using Table.Combine, performing initial transformations such as removing unnecessary columns on these combined tables.

Once the data is combined and cleaned, use Table.Unpivot to transform it into the desired format. 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors