Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am a new user of Qlik sense and I am looking for changing the value of a variable in a measure but its not working, can someone help me ?
The variable is initialised with "X" and can got the values "X" or "Y".
Measure :
=Variable='Y' and sum(...)
Without "Variable='Y' and" my function is working but i need to set the value of the variable at Y to got true value of my measure.
Best regards,
Maxime
You cannot change variable value in chart measures. You can only use variable value. Not sure what exactly you want to achieve, further explanation will help to figure out the best way to achieve your requirements.
You should look for "set analysis". Try this:
Sum( {< Variable = {'Y'} >} ... )
Between the {< .. >} you are setting the value of the variable to 'Y'.
Okay thanks to both of you.