Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter data within a table without adjusting main filter

I am sure there is a simple answer to this, but I can't work it out!

I have a table with 3 columns CUSTOMER, CONTRACTVALUE & Flag.

Flag is a 1 or a 0, where 1 means the contract has not yet started delivering revenue.

I want to display a straight table showing all "unstarted" contracts, i.e. where Flag = 1, but I do not want this to affect the overall sheet current selections.

I have tried "Suppress when value is null" in the Flag dimension but it does not work, I assume because the value is 0 and not Null.

I am sure this can be fixed by set analysis {<Flag={1}>} , but everything I try shows both 0 and 1 values.

Can anyone help me?

1 Solution

Accepted Solutions
blaise
Partner - Specialist
Partner - Specialist

make a straight table with an calculated dimension for Flag.

if(Flag=1,1,null())

And supress values when null for that dimension.

If you have an expression in your straight table you should use sum(if(Flag=1,someFieldtoSum,null()) instead.

View solution in original post

2 Replies
blaise
Partner - Specialist
Partner - Specialist

make a straight table with an calculated dimension for Flag.

if(Flag=1,1,null())

And supress values when null for that dimension.

If you have an expression in your straight table you should use sum(if(Flag=1,someFieldtoSum,null()) instead.

Not applicable
Author

Great. Thanks for your help with this. It works perfectly