Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI everyone,
I have made a Pie Chart displaying avg(salary)
i have made three buttons 'Avg' , 'Min' , "Max' which set variable 'vSet' as 'Avg' 'Min' & 'Max' accordingly.
i want the expression to b written as vSet(salary) but it throws error i also tried =$(vSet(salary))
how to write it proper way.
any suggestions will b very helpful
Hi,
Try like this
Create one more variable vExpression = vSet & '(salary)'
Now in expression editor you can use
=$(vExpression)
Hope this helps you.
Regards,
Jagan.
Hi,
Try like this
Create one more variable vExpression = vSet & '(salary)'
Now in expression editor you can use
=$(vExpression)
Hope this helps you.
Regards,
Jagan.
i tried as you said but Instead of evaluating it shows me 'min(salary)' as output.
it dosen't shows the value it shows characters i.e min(salary)
Is this what you want? PFA
Update: Expression used $(vSet)(salary) or ($(vSet)(Data) in my case)
Best,
S
Hi,
Did you given = in variable declaration for vExpression ? You have give = like below
vExpression =vSet & '(salary)'
Then it works, I think you missed it.
Regards,
Jagan.
Thank you.