Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have two expressions, can we add the two set expressions similar to below
var1=Sum({$<TagName={A1}>}Journeys)
var2=Sum({$<TagName={A2}>}Journeys)
can i add the above set expressions as below expression.
Total=Sum({$<TagName={A1}>+<TagName={A2}>}journeys)
Thank you
May be as below:
=Sum({$<TagName={'A1','A2'}>}journeys)
yes you can.
If your TagName is the same, your can use these
Sum({$<TagName={A1}>+{A2}>}journeys)
Sum({$<TagName={A1,A2}>}journeys)
you can use this way,
variable v_Tag= getcurrentselections(TagName)
and use that variable in Set Analysis
Total = Sum({$<=$(v_Tag>}Journeys)
like this you can combine it more dynamically.
Thanks
PR
Those both expression are working
Thanks