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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I show only null or zero values as a result of an expression?

I am reconciling medications dispensed to our charges to ensure all medications are charged for. So I have summed the charges related to the medications and want to only show where there are no charges related to a medication. I am having trouble showing only null or zero values. Any suggestions?

Currently I have the sum of the charges as an expression, so how do I limit the results to only display the zero or missing values?

Thanks!

2 Replies
crystles
Partner - Creator III
Partner - Creator III

If you have Meds as a field, then just use an if statement

IF(IsNull(ChargesField), Count(MedsField))

sunny_talwar

May be something like this:

If(Len(Trim(YourCurrentExpression)) = 0, 'Null',

If(YourCurrentExpression = 0, 'Zero'))