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 cannot get this to work:
= Sql.Database("10.136.20.144", "MetechSupport", [Query="EXECUTE [DBO].[q_nn_get_serviceorder_v2] @c_status='"& status &"', @c_foretagkod='"& foretagkod &"', @c_startDate='"& startDate &"', @c_stopDate='"& endDate &"'", CreateNavigationProperties=false, CommandTimeout=#duration(0, 0, 10, 0)]),
I have parameters for the query.
Any ideas?
@Anonymous Please Copy Below Code and Use in your Query.
let
Source = "let#(cr)#(lf)Source = Sql.Database(""10.136.20.144"", ""MetechSupport"", [Query=""EXECUTE [DBO].[q_nn_get_serviceorder_v2] @c_status='""& status &""', @c_foretagkod='""& foretagkod &""', @c_startDate='""& startDate &""', @c_stopDate='""& endDate &""'"", CreateNavigationProperties=false, CommandTimeout=#duration(0, 0, 10, 0)])"
in
Source
@Anonymous If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.
Thanks, but that just returned the code:
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 |
|---|---|
| 14 | |
| 12 | |
| 12 | |
| 7 | |
| 6 |