Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am trying to pass a parameter through SQL Statement in Power BI. I have seen some solutions similar to this question but couldn't quite adapt them so wanted to ask the question with my scenario. Below is part of the DECLARE which I want to run the parameter ie not LON but the parameter chosen; beneath this is the parameter I have set up with the BRLocation values.
Trying to keep this simple, any help greatly appreciated!
DECLARE
(there are others)
,@BRLocation VARCHAR(255) = N'LON'
Solved! Go to Solution.
Refer, if this can help
https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |