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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Extracting all files from a folder (Files are NOT the same format)

Hi Experts,

How to extract all the files (.xls) in the folder which are not same format into different queries (not combined) as headers are different. 

but can able to work on the sample file to say keep first 2 rows applicable to all the files. 

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

I don't think this is possible. One query returns one table. You can't split one query into an indefinite number of queries automatically, as far as I'm aware.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@AlexisOlson  Thank you. I am sure there someone sought it as one can clean data for all the files of the folder at one go. 

AlexisOlson
Super User
Super User

I don't think this is possible. One query returns one table. You can't split one query into an indefinite number of queries automatically, as far as I'm aware.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.