The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi guys,
I'm quite new with Power BI. Right now, I'm having trouble getting selected value from Slicer and assigning it to SQL Store Procedure parameter. I created a variable in the Power Query, checked my SQL statements (with dynamic variable) and also marked binding to parameter in Slicer Properties.
But my visual cannot load and the error content is as follows
Error Message:
Query (2, 14) The M parameter 'Parameter1' not defined in model or M parameter type is not valid.
Hope everybody help please
Thanks,
Thong Nguyen
Solved! Go to Solution.
Hi, @Anonymous
I'd like to suggest you try query parameter . For further information, you may refer to the following blogs.
Deep Dive into Query Parameters and Power BI Templates
Power BI Desktop Query Parameters
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
I'd like to suggest you try query parameter . For further information, you may refer to the following blogs.
Deep Dive into Query Parameters and Power BI Templates
Power BI Desktop Query Parameters
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.