Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to exclude null value in KPI or Pivot table.

Hi, All

I’d like to make KPI or Pivot table without Null value.

Example filter is as below.

I want to collect # of Status : Active, collect only if Certificate # (Column B) has value.

In this data, Value should be 3. Because Row 5 has no value.

But when I tried to make table, it show value as 4, including null value. Even I didn’t calculate.

Status – Active : 3


캡처.GIF

I tried not calculate null value. But it’s not work.

Would you share your wisdom ?

Thanks!

4 Replies
Gysbert_Wassenaar

Then it's probably not a null value, but an empty string or one or more spaces. Try count({<[Certificate #]={">0"}]>}Status)


talk is cheap, supply exceeds demand
dwforest
Specialist II
Specialist II

If it is coming into Qlik as null

count({<[Certificate #]=*>}Status)

This only counts non-null values.

Anil_Babu_Samineni

Or this?

count({<[Certificate #]={"=Len([Certificate #])>0"}]>}Status)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
pawwy1415
Creator III
Creator III

Try this

=Count({<Status={'Active'},[Certificate#]={"*"}-{' '}>} enterfield)