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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
New_be
Helper IV
Helper IV

Get Data (Excel) From a folder

Morning everybody!
Refer to the subject, i don't really know how to get data (efficient way) from a folder. Below i will give an example;

 

ym0.PNG

First step.

 

ym.PNG

This is the location of the file. This file i named it "ACTUAL".

 

ym3.PNG

So as we can see, this show that it get all the files inside the folder right?

 

ym4.png

So here is the real problem. At the drop down menu, do i need to choose one-by-one of the files to load it? because when i try click at "first file Y20M20", it only load that file. What i really want is it can load & combine all of the files. The column name for all the files is exactly same.

 

So is there any way that i can try?

 

1 ACCEPTED SOLUTION
4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @New_be ,

 

The file you will choose behind "Sample File" is used to determine the correct file format to use, such as text, Excel workbook, or JSON file. And you don't need to choose one-by-one of the files to load it , just click option "Combine & Transform Data ".

 

To combine binary files in Power Query Editor, select Content (the first column label) and select Home > Combine Files. Or you can just select the Combine Files icon next to Content.

combine-files in folder.png

For reference:

 

Combine files (binaries) in Power BI Desktop

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jeffong
New Member

Hi New_be,

 

I usually select Transform Data from the dialog.

 

In the Query Editor, I then click on the Combine Files at the column header of the Content Column.

So far I didn't have issue using this approach.

 

Hope that helps.

 

Regards,

Jeff Ong

pranit828
Community Champion
Community Champion

Hi @New_be 

 

Check the below link

https://www.youtube.com/watch?time_continue=134&v=9sfCDCpWTfc&feature=emb_logo

 

Did I resolve your issue? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!!

 

Regards,
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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