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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Cyriackpazhe
Helper III
Helper III

get data from folder

Screenshot (36).pngScreenshot (37).pngScreenshot (38).pngScreenshot (39).png

 

Heyy, Had a small doubt. I'm trying to get data from a folder. The folder has two excel documents. 
1. What will happen if i click parameter and opt tranform.
2. There are several tables in the documents. If i click a table and press okay will only that table get combined. What about the other tables?
3. What are the purpose of the four queries that get created? could you explain the purpose of each.
4. Finally, when i load, it only the combined version of that table i selected is there in the model. What should i do to get the other tables.

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

Hi @Cyriackpazhe 

1- Clicking "Parameter" & "Transform"

If you click "Parameter", Power Query lets you filter the folder dynamically using a parameter.
If you click "Transform", it opens the folder contents in Power Query for further modifications before combining.


2- Selecting a Table & Pressing OK

Yes, only that specific table from all files will be combined.
Other tables from the files will be ignored unless explicitly selected and processed.

 

3- Purpose of the Four Queries

Transform Sample File – Defines how each file should be processed.
Sample File – Holds a single file's data for transformation reference.
Parameter (if applicable) – Used for filtering.
Final Query – The actual combined table loaded into Power BI.

 

4-Loading Other Tables

To get other tables, repeat the process:
Go to "Get Data" > Folder
Transform the data
Choose a different table inside Power Query
Load it separately


If my answer helped solve your issue, please consider marking it as the accepted solution.

View solution in original post

3 REPLIES 3
Cyriackpazhe
Helper III
Helper III

@Omid_Motamedise @lbendlin Thanks for the valuable response

Omid_Motamedise
Super User
Super User

Hi @Cyriackpazhe 

1- Clicking "Parameter" & "Transform"

If you click "Parameter", Power Query lets you filter the folder dynamically using a parameter.
If you click "Transform", it opens the folder contents in Power Query for further modifications before combining.


2- Selecting a Table & Pressing OK

Yes, only that specific table from all files will be combined.
Other tables from the files will be ignored unless explicitly selected and processed.

 

3- Purpose of the Four Queries

Transform Sample File – Defines how each file should be processed.
Sample File – Holds a single file's data for transformation reference.
Parameter (if applicable) – Used for filtering.
Final Query – The actual combined table loaded into Power BI.

 

4-Loading Other Tables

To get other tables, repeat the process:
Go to "Get Data" > Folder
Transform the data
Choose a different table inside Power Query
Load it separately


If my answer helped solve your issue, please consider marking it as the accepted solution.
lbendlin
Super User
Super User

1. You will be taken to the Power Query Editor

2. yes, only the selected tables

3. Did you click the "Combine binaries"  button?

4. Repeat the steps for the other sheets.

 

Ideally you would instead hand craft the code, iterating through all Excel files in that folder and for each Excel file iterating through all sheets. Much more efficient.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.