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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Piscus
New Member

DataFormat.Error: The supplied file path must be a valid absolute path.

Hi, I am trying to use Power BI Desktop and I am facing a problem when selecting an excel file as a data source. My excel file is on my SharePoint 2013 (on premises environment). I can navigate and select the file with no problem but when it's time to load the data I get the following error: DataFormat.Error: The supplied file path must be a valid absolute path. Details: \\mysharepoint.domain.com@SSL\DavWWWRoot\sites\pvt\Shared Documents\2015Tasks.xlsx Isn't supported to load an excel file from SharePoint???? This works in Excel using PowerQuery (with no data refresh on premises) and it does not work in Excel using PowerPivot. I would have expected this to work using Power BI desktop. Any ideas?
1 ACCEPTED SOLUTION
andre
Memorable Member
Memorable Member

You should be able to source from an excel file in your sharepoint by doing GetData->From Web then pasting the link to your excel file.

 

I just tried it and it worked.

View solution in original post

7 REPLIES 7
ckinghorn
New Member

I think a cleaner way of doing this is to create your query using excel to write the query. Open the advanced editor, and then copy and paste from Excel advanced editor to power BI editor. This has just worked for me and allowed the connection.

andre
Memorable Member
Memorable Member

You should be able to source from an excel file in your sharepoint by doing GetData->From Web then pasting the link to your excel file.

 

I just tried it and it worked.

I created my query in Excel, then created a query from scratch in Power BI. Opened the advanced editor in both, copy and pasted my excel "Sql" to the Power BI advanced editor and it seems to have worked

curth
Power BI Team
Power BI Team

These kind of WebDAV UNC paths aren't currently supported. We have an open bug on this and hope to resolve it reasonably soon.

So does it means that it will be soon supported?

Greg_Deckler
Super User
Super User

I see the same thing, works in Excel, but not Power BI Desktop.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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