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
Gekko1
Helper I
Helper I

Auto fill a query URL with some kind of selection

So, I have several BI reports that access different databases from API's through URL's in Power Query. In these URL's, the only section that changes from report to report is a key which I have to manually change in all table queries, is there a way to automatize this process? Something like a textbox where I insert this key and the system automatically replace the key section with the key I've just inserted.

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Parameter is for this purpose. You will need to change parameter only and query change will not be required. Your queries need to refer to the parameter. This acts as centralized variable where your queries pick up the value from that variable.

To know how to use parameter - https://docs.microsoft.com/en-us/power-query/power-query-query-parameters 

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

Parameter is for this purpose. You will need to change parameter only and query change will not be required. Your queries need to refer to the parameter. This acts as centralized variable where your queries pick up the value from that variable.

To know how to use parameter - https://docs.microsoft.com/en-us/power-query/power-query-query-parameters 

Thank you very much, I did some research with the link you provided and parameters were exactly what I was searching for.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.