Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am using Set analysis for each line in Line chart, like this Sum({<Country = {'USA'}>}Sales)
Now I want to conditionally enable each line when I Make a Selection in Country Listbox, also when no selection is made, all lines should appear.
Can someone help me to write to condition on expressions?
Attaching the example case in QVW.
Thank you.
Hi,
I dont know if this fit Your requirement, but if you add Country as Dimension and just use Sum(Sales) as Expression.
otherwise explain a little bit more what you try to achive.
Dim - Country,
Expr - Sum(Sales)
Otherwise, if you've other dimensions too, then use the below:
Sum({<Country = {'$(=GetFieldSelections([Country]))'}>}Sales)
Check this out.