Forum Discussion
Get a SharePoint file path to use in PBI without the Desktop app
- 4 years ago
Hi Anonymous ,
you can retrieve that link from SP or OneDrive directly like described here:
Get Excel Data from a Single File or Entire Folder on SharePoint or OneDrive for Business into Power Query or Power BI | CloudExtend Help Center
Do like this (I am giving this step from personal Onedrive, hence should work for Sharepoint online)
Right click on your file - Embed
I got below code
<iframe src="https://onedrive.live.com/embed?cid=E11B26EEAACB7947&resid=E11B26EEAACB7947%217398&authkey=AA8hHIRW2IjGghI&em=2" width="402" height="346" frameborder="0" scrolling="no"></iframe>
Now copy the bold portion starting from resid till just before &em
Now, below is sample link where bold portion should be replaced with above copy.
https://onedrive.live.com/download?resid=AAXXXX&authkey=AAXXXXXXX&em=x&app=Excel
Hence, this would become
This link you can feed into Web connector of Power BI.