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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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.

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.

Top Solution Authors
Top Kudoed Authors