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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

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

May be try this:

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

Not applicable
Author

Sorry its not working

sunny_talwar

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