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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
harry_pbi
Frequent Visitor

Folder.Files returns error when large file exists in a folder in Excel365

Hi,

how can I read list of large csv files in a folder in Excel365? Currently am I using Folder.Files however the "Content" column of Binary data type can't handle large files in a folder (greater than 50-100MB).

Thank you for your help.

harry

1 ACCEPTED SOLUTION

Can it read ONE of the files?

>>no

Like if you target a single CSV file, will it discover the meta-data in the file?

>>no

Is there a way to trurn off scanning of the file to do discovery?

>>no in my opinion, but not sure

 

However I found out, that Folder.Contents does what I need. Weird, both functions have the same structure of output but Folder.Files has problem with large files. 

View solution in original post

2 REPLIES 2
ToddChitt
Super User
Super User

Can it read ONE of the files? Like if you target a single CSV file, will it discover the meta-data in the file? Is there a way to trurn off scanning of the file to do discovery?




Did I answer your question? If so, mark my post as a solution. Also consider helping someone else in the forums!

Proud to be a Super User!





Can it read ONE of the files?

>>no

Like if you target a single CSV file, will it discover the meta-data in the file?

>>no

Is there a way to trurn off scanning of the file to do discovery?

>>no in my opinion, but not sure

 

However I found out, that Folder.Contents does what I need. Weird, both functions have the same structure of output but Folder.Files has problem with large files. 

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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