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
glenncogar
Advocate I
Advocate I

Trouble importing data from Excel 'macro enabled' file (.xlsm)

Hi, I am hoping someone has had this problem and can help with a solution

 

One of my Power BI users is trying to import data from a 'macro enabled' Excel file (.xlsm) and Power BI does not see the file as a valid Excel file.

 

This article https://docs.microsoft.com/en-us/power-bi/service-get-data on Microsoft's web site says that .xlsm files are valid for Power BI to import data from but I'm having no success. 

 

We are using Office 2013 and I am wondering if this will only work with Excel 2016 and higher?

 

Below is the error I am getting.

 

Anyone have any ideas on what's going wrong and how to fix?

 

Excel data import error.PNG

1 ACCEPTED SOLUTION
2 REPLIES 2

Thank you so much, the active hyperlinks were the problem!

 

I just selected all cells, right clicked, removed all hyperlinks, saved the file and then Power BI could read the data 🙂

 

p.s. Microsoft Power BI team, I think this needs to be fixed.  Power BI happily reads web pages and they contain hyperlinks.  Maybe allow an option to ignore hyperlinks in Excel files.

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.