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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

custom list box

Hi

I have added in the custom expression below in order to only bring into the list box the Drivers that are actually used within the data (ie there are around 30k set up but only 3k with data on).

The formula below appears to work as a much reduced list of drivers are brought through into the list box.

However the issue i have is that when one is selected the rest disappear completely out of the list box, how can i edit my formula/settings so that the other options stay in the box and appear greyed out as per the standard formats of a list box?

 

=

Aggr(If(
(
fabs(ROUND(Sum(COST)))+fabs(round(sum(revenue)))
) <>0,
[Driver Type]),[Driver Type]
)

Labels (1)
3 Replies
Not applicable
Author

Hi Jono

did you untick "mask excluded values" in tab General ?

best regards

chris

Not applicable
Author

Hi

No that box isnt ticked

Jon

Not applicable
Author

Hi,

If you use Aggr then the unselected values will be disappear. So, instead of using Aggr, you just use IF condition.