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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Danniii_
Helper I
Helper I

[DataFormat.Error] Archive file cannot be size 0. - Combine Files

Hi, 

 

Can anyone help with this error? I am combining around 240 excel type files from a SharePoint folder, all files have the same amount of columns and the sheet is named Data on every single one so that matches up.

 

None of the files contain tables, Just varying amounts of rows of data under the same headers. All data formats are the same (This is basically a system extract repeated) the only thing that changes is the file name.

 

None of the files are blank and only the files I want to be combined are located in the SharePoint folder.

 

Is there a way of pinpointing where this error is coming from?

 

Thanks

5 REPLIES 5
valeram
Regular Visitor

Hi! I had the same issue. The problem was a mismatched file in my list (I don't know why, but the content was broken).

So I went up in the steps of PowerQuery to the first "remove other columns" (5th step usually) and detected the broken file, then I opened that file to know which was the problem (I solved it quickly by downloading again the same file with the correct format.

Best regards.

V

valeram_0-1659086868021.png

 

v-eqin-msft
Community Support
Community Support

Hi @Danniii_ ,

 

Glad to hear from you !

Please go to Files-->Options-->Diagnostics-->Open crash dump/traces folder to see the log files.

3.30.logfile.PNG

 

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

v-eqin-msft
Community Support
Community Support

Hi @Danniii_ ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

v-eqin-msft
Community Support
Community Support

Hi @Danniii_ ,

 

I still could not reproduce your problem until now... Even if there is no data in an excel file, it will not affect the combination and load.

3.22.2.combine.PNG

 

Maybe you could try to

1.Enable the Skip files with errors option as shown below

2.Check the Applied Steps in Power Query 

3.Upgrade your Power BI Desktop to the latest version

 

3.22.2.skip files with errors.PNG

 

Refer to :

https://community.powerbi.com/t5/Desktop/Date-format-error/td-p/130510

https://community.powerbi.com/t5/Desktop/DataSource-Error-Could-not-find-file/td-p/178314

 

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

Thanks for your response, unfortunately I need all files of data to be included so skipping files with errors will not fix my issue - It still gives me the same error when I try to load to model however skipping would not be a long term solution as I need to ensure every single file and row of data is inclueded so it's more of a case of needing to find where the problem file lies so that I can fix whatever the issue is so that it is included and not skipped.

 

My Desktop PBI is the most up to date version, and I did check applied steps but nothing gave any indication as to where the problem was occuring.

 

Thanks again. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.