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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Change the location of data source within Sharepoint

Hi all,

 

The thing I'm confronting is when I change the location of data source file within Teams, as we know we can open files from teams to share point directly and there can be various folders in teams within the sam folder name. For example my file is in Digital Projects and I change it to ICSA, still the link remains the same as GIA Internship is the name of whole folder, how can we chanthe location then in query editor?PROBLEM 3.PNG

 

Hoping to receive some replies ASAP.

 

Thanks in advance,

 

Best Regards,

Diksha

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

Maybe you can try to parameterize your data connector connection string, then you can change them on power bi service side to achieve dynamic change data source:

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous,

Maybe you can try to parameterize your data connector connection string, then you can change them on power bi service side to achieve dynamic change data source:

Using the Power BI Service Parameters to change connection strings (To possibly change between Dev 

Regards,

Xiaoxin Sheng

mahoneypat
Microsoft Employee
Microsoft Employee

If you are using the SharePoint.Folder connector/function in your query (instead of the Web connector to your Excel file), you can change the step that has [FolderPath] = "..." in the Advanced Editor to match the new folder path.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors