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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
1 Solution

Accepted Solutions
Nicole-Smith
MVP
MVP

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
MVP
MVP

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)