Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a situation like, I have to create a dynamic variable name and use in Objects, based on a button click.
I have a value coming from a variable. Let us assume 'var1' and has values of 'A', 'B' & 'C'.
Based on a button press, I am setting this value.
In an Object let us assume 'Chart', I would like to use it as a variable "A rest" or "B rest" or "C rest".
I already have these variables defined and I am trying to calculate its count.
Count([A rest])
I have tried below and its not working
Count([$(var1) rest])
Count([$(=var1) rest])
Any advise please... I hope I am clear with my situation.
see attachment
see attachment
Thank you maxgro. For some reason, my calculation is done only if I reload the script. Do you think, I have to change any options in Button or Chart Object?
Please ignore it. I was wrong in setting the values. Thanks again