Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

KPI object: filter with field null

Hi guys,

i need to use a count (distinct *) in the KPI object when the field_date is null.


For example:


Count(distinct {$<[field_date]-={"NULL"}>} cliente)

Thanks,

4 Replies
sunny_talwar

When field_date is null? or is not null?

For null, may be this:

NullCount([field_date])

sunny_talwar

I guess I am not sure what you are trying to calculate here. What exactly are you trying to count? Would you be able to share a sample with expected output here?

Not applicable
Author

Example:

  

clientfield_data
131/05/2016
101/06/2016
2
231/05/2016
431/05/2016
501/06/2016
5

Query:

select count(distinct client)

from table

where data_field is not null

Result count: 4

Thanks!

sunny_talwar

May be like this:

=Count(DISTINCT {<client = {"=Len(Trim(Concat(DISTINCT field_data))) > 0"}>} client)