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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Data Import Error: Details: "The specified package is invalid. The main part is missing."

I'm trying to import a new excel document to power bi desktop and I'm getting the error "Details: "The specified package is invalid. The main part is missing.""

 

Unable to connect.jpg

 

 

I've seen people suggest changing the file type, but that didn't work, and also shouldn't have been the problem since the data that is currently already in the project is also (.xlsx)

 

I saw another suggestion about removing word wrap from headers, but none of my headers utilize word wrap, so that can't be the problem.

 

I'm really at a loss and could use any additional help.

And before it is suggested, unfortunately I cannot share the file for testing.

 

Thank you so much!

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@Anonymous,

 

Verify that you are using "Excel Workbook" and not "Strict Open XML Spreadsheet". Both use the file extension ".xlsx".

 

DataInsights_0-1662728356055.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

Did you mean the import feature to import excel workbook contents to power bi? Does any plugin or external data source connection in your worksheet? Have you added any macro/script for specific cell formatting or conditional formatting to your sheet? Please share some detailed information about this to help us clarify and troubleshoot this.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

DataInsights
Super User
Super User

@Anonymous,

 

Verify that you are using "Excel Workbook" and not "Strict Open XML Spreadsheet". Both use the file extension ".xlsx".

 

DataInsights_0-1662728356055.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors