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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Prakest
Frequent Visitor

Live connection/automated refresh to Sharepoint Excel file

I have a sharepoint site mapped to my local directory and a file in there is connected to a PBI report. I'm having trouble making the refresh more dynamic.

 

What I'd like to do:

  1. Connect directly to the Excel file - PBI then refreshes either in real time or on a schedule
  2. Less ideal, make a dynamic file path so any non-technical user can simply open PBI, click refresh, and publish. This can't be done now because my username is in the file path source.

What I've tried:

  • Scheduling a refresh fails because it doesn't recognize my credentials (and also the file path is point at my mapped drive).
  • Trying to add the file in via "Web" does not work as my credentials can't be authenticated with any option 

Any other options?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Prakest,

Perhaps you take the following document to direct use the file stored in the online onedrive/SharePoint.

Use OneDrive for Business links in Power BI Desktop - Power BI | Microsoft Learn

This file will use onedrive refreshes on the power bi service side after you finish configuring the data credentials.

Data refresh in Power BI - Power BI | Microsoft Learn
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Prakest,

Perhaps you take the following document to direct use the file stored in the online onedrive/SharePoint.

Use OneDrive for Business links in Power BI Desktop - Power BI | Microsoft Learn

This file will use onedrive refreshes on the power bi service side after you finish configuring the data credentials.

Data refresh in Power BI - Power BI | Microsoft Learn
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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