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: 
smilingjohn
Specialist
Specialist

Including all values

Hi All, 

IN my data I have the values like null and empty  where as I need to consider those values which are empty and null .

but this is considering only empty values or - values and neglecting something like 'null' .

Thanks in Adance

1 Solution

Accepted Solutions
Nicole-Smith

You can join your two sets together with an OR by using + between them:
count({<ID={"=Len(Sales_ID&Employee_ID)<=0"}>+<Sales_ID={'null'},Employee_ID={'null'}>}ID)

In this case, it will count it if either of the sets are true.

View solution in original post

2 Replies
Nicole-Smith

You can join your two sets together with an OR by using + between them:
count({<ID={"=Len(Sales_ID&Employee_ID)<=0"}>+<Sales_ID={'null'},Employee_ID={'null'}>}ID)

In this case, it will count it if either of the sets are true.

Chanty4u
MVP
MVP

try this

in script:  NULLASVALUE *;

 

in front end expression :

count({<Sales_ID={"*"},Employee_ID={"*"}>}ID)