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
Is there any way to set a stored procedure parameters name as input variables and not as fixed strings?
I'd like to pass @item().param_name as variable as follows:
I've seen a possible solution, that is passing through Dynamic Content of source settings the full json string with parameters configuration as follows:
@json(string({"Params":{"ParameterName1":{"value":"ParameterName1Value","type":"String"}}}))@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}')))
Which is the json struct format that Dynamic Content needs?
Solved! Go to Solution.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params
Hi @amaaiia ,
Glad to know that you were able to get to a reoslution. Please continue using Fabric Community on your further queries.
Missing ending .params:
@json(string(concat('{"Params":{"',variables('par_name'),'":{"value":"',variables('par_value'),'","type":"String"}}}'))).params