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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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.

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