Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List Box's Gray values disappear

Hi,

I am using an expression to create a List Box object. The expression is :

If( aggr( sum(SalesAmount), CalendarYear) > 0, CalendarYear).

It shows 5 values - 2010, 2011, 2012, 2013, 2014

The problem is whenever I select any value from this object, only selected value remains in the list Box while the rest of the values disappear from the List Box object.

How can I show all the excluded values too in Listbox?

Please find the attached screenshot.

Thanks

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

This should work

=Aggr(If(Sum({<CalendarYear>}SalesAmount) > 0, Only({<CalendarYear>}CalendarYear)), CalendarYear)

Update: Sample attached

View solution in original post

6 Replies
sunny_talwar
MVP
MVP

May be try this:

Aggr(If(Sum({<CalendarYear>}SalesAmount) > 0, CalendarYear), CalendarYear)

Not applicable
Author

Sorry its not working

sunny_talwar
MVP
MVP

This should work

=Aggr(If(Sum({<CalendarYear>}SalesAmount) > 0, Only({<CalendarYear>}CalendarYear)), CalendarYear)

Update: Sample attached

Anonymous
Not applicable
Author

Is the Hide Excluded from Properties - General Unchecked?

Not applicable
Author

Awesome!

Anonymous
Not applicable
Author

Hi Abhishek,

Please check if you have unchecked the Hide excluded in listbox properties.

1.JPG