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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cheryl-lee33
Helper I
Helper I

How to dynamically change the url of the source data based on the user selection?

Hi,

 

I need to build a PBI report with source Excel files stored on the specific web site.  Ideally, I would like to allow the users to choose which Excel file that they want to use.  As the web site address involves some parts of texts that have no particular patterns, hence I please to have the web site stored in an Excel file, and the file will be used as a slicer for the user to choose.  The format is simply as below:

cheryllee33_1-1629882157155.png

 

The report column will be used for the users to select from the slicer, and the URL will be used as the data source to locate the Excel file.  

 

I tried using parameter (without the Excel table shown above) to update the web site, and the url is updated.  However, the process of entering the web addresses is not ideal for the users to enter. 

 

Can anyone help and let me know what processes I should have to use the url stored in the Excel file and change the source files used in the PBI report?

 

Thanks in advance for your help!

1 REPLY 1
lbendlin
Super User
Super User

I don't think that is possible (although Power Query allows dynamic M parameters Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs )

 

What you can do is load all Excel files into Power BI at the same time and then let the user filter by file name via slicer.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.