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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
michaelyoung1
Frequent Visitor

Creating a dataflow to a macro-enabled excel sheet in a SharePoint Folder

Hi,

 

I'm trying to connect to a .xlsm document in a Sharepoint folder using Power BI online. I've used Power BI desktop and connected to local versions of this document and it's worked completely fine, however when trying to set up this dataflow I connect to the folder fine, find my file and click "binary" and it doesn't seem to be able to open the file as it has done with all .xlsx I've worked with.

 

Is this feature supported? Or is there an alternate way to connect to macro-enabled documents stored in SharePoint/OneDrive, so that multiple people can still access them and Power BI will be able to do it's thing automatedly.

 

Thanks,

Michael 

1 ACCEPTED SOLUTION

Hi, @michaelyoung1 

I'm afraid it couldn't achieve in Power BI for now. The online connector can't  get contents of xlsm files. You may need to convert your file to .xlsx first.

You can also open a support ticket with MSFT to seek technical support , usually they will have better suggestions.

 

Related idea you can vote for :

Data flow with xlsm files 

If there are enough votes, the Product Team will evaluate and take good consideration about it.

 

Best Regards,
Community Support Team _ Eason

 

 

 

View solution in original post

4 REPLIES 4
Fowmy
Super User
Super User

@Fowmy 

Thanks for your reply. I've already tried this having seen it in a question elsewhere.

For some reason when I do this method, after Step 3 I get this error message 

 

michaelyoung1_1-1626179810682.png

 

Occasionally it makes it through to step 4 but I have to close and reopen Power BI, and I get this error anyway after clicking "connect" here. This is despite being an Owner of said SharePoint, and being able to connect to other folders in the same SharePoint completely fine using dataflows in Power BI online.

Hi, @michaelyoung1 

I'm afraid it couldn't achieve in Power BI for now. The online connector can't  get contents of xlsm files. You may need to convert your file to .xlsx first.

You can also open a support ticket with MSFT to seek technical support , usually they will have better suggestions.

 

Related idea you can vote for :

Data flow with xlsm files 

If there are enough votes, the Product Team will evaluate and take good consideration about it.

 

Best Regards,
Community Support Team _ Eason

 

 

 

Thanks @v-easonf-msft 

Strangely I have figured out that it is in fact possible, going into the advanced editor for an xlsx document and changing the path to my xlsm worked completely fine!

Fingers crossed it doesn't break now.

 

Thanks,

Michael

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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