Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculation Condition

Hi,

I got a listbox built from the following expression

=if(Aging < 1, 'Current', if (Aging >=1, 'Later'))

2014-09-04_7-14-51.jpg

Now I want to add a calculation condition to my chart.

My chart should show up only when only one value is selected in this listbox.

Please help me with it.

Regards,

Saurabh

3 Replies
MK_QSL
MVP
MVP

use below in script...

if(Aging < 1, 'Current', if (Aging >=1, 'Later')) as Value


Now for chart, go to Layout Tab >> Conditional

use below expression


GetSelectedCount(Value) > 0

JonnyPoole
Employee
Employee

It should still work that you can use  getselectedcount(Aging) > 0 to determine if a selection has been made.

On the chart properties go to the layout tab and enter a conditional show/hide expression on the right side of

getselectedcount(Aging) > 0

Not applicable
Author

When  i code "as Value" then list box does not show anything.