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: 
ColtE8
Contributor III
Contributor III

Show Column If Open

Hello,

I am creating a table and only want data to show up if the status of a column is open. I thought it should be simple but it's telling me error.

={$<Status={'Open'}>}

Why isn't this working?

I also would like to have them filter to show anything due in the next 30 days. I have a filter already for "Days until Due". I would love to include all of them together if possible so something like if the status is open and days until due < 30 then it shows up in the table. Hope that makes sense.

Thanks,

Colton Esman
https://www.linkedin.com/in/colton-esman/
Labels (5)
1 Solution

Accepted Solutions
ColtE8
Contributor III
Contributor III
Author

Ya it's hard for me to ask questions here because of sensative data. I actually got it working though! I used:

=if(Status = 'Open' and [Days Until Due] < '30',[Unique Identifier])

Thanks,

Colton Esman
https://www.linkedin.com/in/colton-esman/

View solution in original post

2 Replies
Or
MVP
MVP

That will work if it is included in an aggregation, but it can't just be placed in a measure by itself  - the set reduces the population, but you haven't specified what to return.

Only({$<Status={'Open'}>} Status) would work, for example (assuming this is a measure, in a dimension you may need to aggr() ).

ColtE8
Contributor III
Contributor III
Author

Ya it's hard for me to ask questions here because of sensative data. I actually got it working though! I used:

=if(Status = 'Open' and [Days Until Due] < '30',[Unique Identifier])

Thanks,

Colton Esman
https://www.linkedin.com/in/colton-esman/