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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
goalie_
Helper III
Helper III

Excel file not opening in powerBI

Has anyone encountered the error below when trying to read in an excel file into powerBI?

Error:

Unable to connect

We encountered an error while trying to connect.

Details: "The input couldn't be recognized as a valid Excel document."

 

However the file can be opened in excel without a problem and has a .xlsx extension. Any help or what to check?
Other files of the same format seem to work but some do not. I'm unable to share the files unfortunately. 

 
3 REPLIES 3
Ijaz375
New Member

Convert Excel file into csv and try.

v-henryk-mstf
Community Support
Community Support

Hi @goalie_ ,

 

One of the reason could be that the data that you are importing to PBI is not in excel table. Select the rows and columns from the sheet that you want to import >> Insert Table in excel and try importing it should be able to read the data then. 

 

You can make a try and tell me if it works. Looking forward to your reply.


Best Regards,
Henry


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

ponnusamy
Solution Supplier
Solution Supplier

Have you formated your data as table within Excel?

ponnusamy_0-1630699681491.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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