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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
glenncogar
Advocate II
Advocate II

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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