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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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/
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 111 | |
| 109 | |
| 40 | |
| 33 | |
| 26 |