So I have a very simple multivalue parameter that has two values
Value A
Value B
I have an ifelse calculated field and if I want to know if JUST value A is selected or value B is selected then I can produce a result. However, if Neither or Both are selected I can only get the calculated to calculate as if either all or neither are selected i.e. it either shows the value of neither even if both are selected or it shows the value of both if neither are selected.
It seems that:
ifelse(in(“Value A”, {$mvparameter}) AND in(“Value B”, {$mvparameter}), 1, 0)
Always evaluates to false even if both are selected but
ifelse(in(“Value A”, {$mvparameter}) , 1, 0)
works fine as long as only value A is selected.
This leads me to conclude that if both are selected then the mv parameter control returns something other than an array with all the values in it. I need the calculated field to return differently depending if one value, or the other value, or both, or none are selected.