Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
retko1985
Creator II
Creator II

Display expressions based on listbox selections

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.

3 Replies
stabben23
Partner - Master
Partner - Master

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.

balabhaskarqlik

Dim - Country,

Expr - Sum(Sales)

Otherwise, if you've other dimensions too, then use the below:

Sum({<Country = {'$(=GetFieldSelections([Country]))'}>}Sales)

neelamsaroha157
Specialist II
Specialist II

Check this out.