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: 
Not applicable

Filter action

I have a table where a field can be null

I need an object (button ? - actualy a checkbox) with two possible actions: if I click on it will show only rows were the field is not null, when unclick - shows all rows. Any ideas? Thank you.

Labels (1)
1 Reply
Not applicable
Author

You can use Set Analysis to handle the expressions. For not null:

Sum({<Field={*}>} Value)


For null, you may be able to use:

Sum({$-<Field={*}>} Value)


Then create a field (Choice) to hold your two choices. Then in your expression:

If(Choice='Not Null', Sum({<Field={*}>} Value), Sum({$-<Field={*}>} Value))