Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.