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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors