Forum Discussion
Edit Variables as Slicer or dropdown for the user
- Anonymous8 years ago
Anonymous,
You have created a parameter named Unit, and define some values for it , right? If so, change {Cube.ApplyParameter,"UNIT",{'"&Unit&"'}} to the following:
{Cube.ApplyParameter,"UNIT",{""&Unit&""}}
Regards,
Lydia
Anonymous,
You have created a parameter named Unit, and define some values for it , right? If so, change {Cube.ApplyParameter,"UNIT",{'"&Unit&"'}} to the following:
{Cube.ApplyParameter,"UNIT",{""&Unit&""}}
Regards,
Lydia
Thanks a lot Lydia.
This solution worked for me :).
One of my Parameter is of type integer.
I am using the following syntax for passing parameter Year_Start
{Cube.ApplyParameter,"Year_Start",{"&Year_Start&"}},
This statement throws the following error below :
Can you please suggest
Regards
Power BI User
- Anonymous8 years agoNot applicable
Anonymous,
Please check my second reply in this thread. Create the Year_Start parameter in Text type, then use Number. FromText() function.
Regards,
Lydia