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
joeality
Frequent Visitor

Combine Multiple spreadsheets of Data into a Single tall table

I have twelve spreadsheets representing montly data for the past twelve months. If possible I'd like to concatenate the tables into a single tall table and add a month signifier to each row based on the spreadsheet they originated from. 

1 ACCEPTED SOLUTION
marclelijveld
Resolver I
Resolver I

Hi @joeality

What you should do is work in Power BI Desktop and follow the steps below; 
- Create a new query and connect to the root folder where all your files are stored. As result you get a list of all files in the folder, for example a sharepoint folder. 
- Now you will see the Content column where the value shows binary for every row. This represents the content of each file. In the columnheader you see a little icon. Click this icon. 
- Now all files will be combined in one new big table. Power BI will create a function which loops over all files in the folder. 

Be warned! Every file needs to be in the same structure and same extension. 

As an example, watch this video. This is Power Query in Excel, but works exactly the same in Power BI. In the video he is creating a custom column with the Excel.Workbook() function. This is not necessary if you just click the small icon in the Content column. Otherwise you won't create a Power BI function to loop over all the files. 
To create a filter in your report to switch between the files, you can keep the Name column which represents the file name or every other column you want. This column can be used in your report as a filter / slicer to dynamicly switch between the files. 



- Marc 

ps.  Take a look at the Power BI Cheat Sheet which you can download for free here

View solution in original post

1 REPLY 1
marclelijveld
Resolver I
Resolver I

Hi @joeality

What you should do is work in Power BI Desktop and follow the steps below; 
- Create a new query and connect to the root folder where all your files are stored. As result you get a list of all files in the folder, for example a sharepoint folder. 
- Now you will see the Content column where the value shows binary for every row. This represents the content of each file. In the columnheader you see a little icon. Click this icon. 
- Now all files will be combined in one new big table. Power BI will create a function which loops over all files in the folder. 

Be warned! Every file needs to be in the same structure and same extension. 

As an example, watch this video. This is Power Query in Excel, but works exactly the same in Power BI. In the video he is creating a custom column with the Excel.Workbook() function. This is not necessary if you just click the small icon in the Content column. Otherwise you won't create a Power BI function to loop over all the files. 
To create a filter in your report to switch between the files, you can keep the Name column which represents the file name or every other column you want. This column can be used in your report as a filter / slicer to dynamicly switch between the files. 



- Marc 

ps.  Take a look at the Power BI Cheat Sheet which you can download for free here

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
Top Kudoed Authors