Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
benz-ait
Contributor II
Contributor II

Set Analysis with variables

Hello guys,

How can I  replace this   champs1={'string1','string2'}  in the set analysis below  by variable ?

sum({<champs1={'string1','string2'}>} champs3)

2 Replies
sunny_talwar

May be this

vVar

champs1={'string1','string2'}

and then this

Sum({<$(vVar)>} champs3)

Note that expression editor might show error, but ignore the error and click okay to see if you get the desired output or not.

benz-ait
Contributor II
Contributor II
Author

I have this solution and it's work very well

vVar

='champs1={"string1","string2"}'

and then this

Sum({<$(=vVar)>} champs3)