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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

How to combine spreadsheets from different folders inside another folder

Hello to evereryone, I am trying to model the data for a new dashboard and don't now how to combine some csv files from different folders.

I have a master folder with the following folders inside(each week another folder is created inside the master folder):

 

aguuzdo_2-1644527569697.png

 

And inside of each of the folders I have 6 csv files. I would like to combine the corresponding files between folders.

 

For example, I need to combine the driver_activity csv of the current 10 folders in the master folder.

 

aguuzdo_0-1644527524944.png

 

Is it possible to get this thing done with power query?

 

Thanks in advance.

 

1 ACCEPTED SOLUTION
sevenhills
Super User
Super User

Yes, you can do that ... 
a) Get data

sevenhills_0-1644539811147.png

 

b) Select the master folder

sevenhills_1-1644539890264.png

 

 

c) The query gives all the list, filter for .csv files

sevenhills_2-1644539940187.png

 

d) Combine the files data, by clicking the content column 

sevenhills_3-1644540044230.png

 

...  continue the remaining steps

 

View solution in original post

1 REPLY 1
sevenhills
Super User
Super User

Yes, you can do that ... 
a) Get data

sevenhills_0-1644539811147.png

 

b) Select the master folder

sevenhills_1-1644539890264.png

 

 

c) The query gives all the list, filter for .csv files

sevenhills_2-1644539940187.png

 

d) Combine the files data, by clicking the content column 

sevenhills_3-1644540044230.png

 

...  continue the remaining steps

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.