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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Possibility of using parameter to dynamically change data source URL

I've searched around in the forum and couldn't find the answer...

I have a Power BI report that pulls data from an excel file. This excel file is stored in a SharePoint library. The business process requires that each year, we create a new excel file and accordingly, a new Power BI report. I want the user to be able to continue using the Power BI report by just copy and paste the URL of the new Excel file to, say a separate URL tracker excel file, and every new Power BI report will be able to pick up the right URL to that year's Excel file. Is it possible to assign the address of file source in Query Editor to be a variable and that variable's value comes from the Parameter? Thanks for any lead!

image.png

image.png

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may take a look at the post below.

http://community.powerbi.com/t5/Desktop/Create-tables-based-on-all-Query-Parameters/td-p/345947

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may take a look at the post below.

http://community.powerbi.com/t5/Desktop/Create-tables-based-on-all-Query-Parameters/td-p/345947

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msft  The article changed my perspective of the solution and I was able to create some parameter that worked for my situation. Thanks!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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