Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Need Help on
Connect to the folder load only the files specified in the config excel. Need to write a custom function which on invocation should take the binary of the file perform sheet navigation promote headers and return the excel table.
For example: if the folder has 3 xlsx files i.e 1.xlsx, 2.xlsx, 3.xlsx and if the config file has only 1.xlsx and 3.xlsx (it should take this config as input and custom function should automatically invoke)
Note: All the files in the folder has same metadata (headers)
Solved! Go to Solution.
You don't need a custom function for this. You can do the following:
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingYou don't need a custom function for this. You can do the following:
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reporting@Greg_Deckler @edhans
am completely new to this config file can you please help. Config will be like text file or xlsx or anything will do.
and with PBI> Getdata> folder> ??
Where to provide as inner join
I would use an Excel file. One file name per cell in a column.
Then either use the folder connector, or SharePoint.
I have a config file, so it may look like this:
Then I connect to SharePoint and it looks like this: (columns missing, but first few are all that are relevant. Same would apply to a local folder)
From here I merge as follows - clickiing Merge in the Power Query ribbon.
Now I have this. At this point, I just combine.
Changing the config file will change which files are kept on the next refresh.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingJoin the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.