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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Data source from Excel to Sharepoint

Hey,

 

someone asked me to build a dashboard in Power BI. He wants to make connection with an excel sheet on sharepoint. I don't have and I don't get access to the sharepoint site. I only have the excel file on my local disk. 

How do I change the data source to his sharepoint when I want to deliver the dashboard?


greets 

 

1 REPLY 1
Vera_33
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

It is the same Excel file, right? you connect it in your local disk, and he wants to connect it in SharePoint which you don't have access. So you can ask him to change the Source

Current one is like

Excel.Workbook(File.Contents("C:\Users\XXXX.xlsx"))

Ask him to open the Excel file in SharePoint and opy the File path (File->Info) and delete the "?web=1", then change the Source to this, all the rest steps in the query are still working

Excel.Workbook(Web.Contents("https://company.sharepoint.com/sites/XXXX.xlsx"))

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.