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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
retko1985
Creator II
Creator II

GetSelectedCount, but only those which nas not null in some other field.

I want to divide by number of selected values in some field, like GetSelectedCount(Customer). But if the selected Customer has null in some other Field, like in Sales_Amount, it should be excluded, even if he is selected.

Do you have some suggestions?  Thank you.

1 Reply
sunny_talwar

May be use Count() instead?

Count({<Sales_Amount = {'*'}>}Customer)

or this

If(GetSelectedCount(Customer) > 0, Count({<Sales_Amount = {'*'}>}Customer))