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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
alex_stone
Creator
Creator

How to set null condition in set anslysis?

Currently, we want to add one condition that close_date = null in set analysis, how to reach that?

e.g.     sum({< close_date={null()} >} total)

But, this expression cannot work.

What can I do if want to add null condition in set analysis? Thanks.

5 Replies
sunny_talwar

May be this:

=Sum({<close_date = {"=Len(Trim(close_date)) = 0"}>}total)

or

=Sum({<close_date = {"=IsNull(close_date)"}>}total)

or

=Sum({<close_date -= {'*'}>}total)

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try like this

sum({< close_date-={'*'} >} total)


Hope this helps you.


Regards,

Jagan.

avinashelite

try like this

=Sum({<close_date = {"=if(Len(Trim(close_date)) = 0,close_date)"}>}total)

or

=Sum({<close_date -= {'*'}>}total)

Chanty4u
MVP
MVP

for more,

=sum({<close_date={'Null'}>}total)

Excluding values in Set Analysis

alex_stone
Creator
Creator
Author

Thank you for your replay, let me try it. Thanks again.