The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Solved! Go to Solution.
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
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.