Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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))