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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

List box as filter vs filter in code?

Hi,

I have a filter in a chart like the following:

= count({$<[Request Status]={'Work in Progress','Monitor',' '}>} DISTINCT [AutoID]

Also I have a list box filter for that field, the problem is that as the code inside the chart will include these 2 values, if I use the filter it won't apply in that chart. For example, if I use the list box filter for Request Status], and select "Work in Progress" I want that the chart only displays the "Work in Progress" records. Based on the expression it's not working.

Is there a way that the filter outside the chart will affect this chart besides the code inside?

1 Solution

Accepted Solutions
sunny_talwar

Try this

=Count({$<[Request Status] *= {'Work in Progress','Monitor',' '}>} DISTINCT [AutoID])

Implicit Set Operators

View solution in original post

1 Reply
sunny_talwar

Try this

=Count({$<[Request Status] *= {'Work in Progress','Monitor',' '}>} DISTINCT [AutoID])

Implicit Set Operators