Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Another Newbie Question.
I am trying to build up an expression to use a variable to select a field for a graph axis. (I previously did this using a separate inline table to make the selection but the performance was not good.)
To start with, I have set the variable in the load script thus:
SET vMasking = 'Masked Mean Packet Delay (ms)';
Then I want the graph to select its axis based on the value of the variable, so I want the graph to be the:
Avg[Masked Mean Packet Delay (ms)]
But I want it to take the value from the variable, so I can change that later
I've tried Avg($(vMasking)) among other things, which doesn't work.
Thanks
Actually this:
Avg($(='[' & vMasking & ']'))
UPDATE: Also change the set statement to this (remove the single quotes)
SET vMasking = Masked Mean Packet Delay (ms);
UPDATE2: Sample attached
Actually this:
Avg($(='[' & vMasking & ']'))
UPDATE: Also change the set statement to this (remove the single quotes)
SET vMasking = Masked Mean Packet Delay (ms);
UPDATE2: Sample attached
Works perfectly thanks!