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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
RubenMoreno
Contributor III
Contributor III

Various filters in an expression

Hello, 

I am trying to create a measure including several filters/conditions. I have a table with several columns (Columns A, B and C) and I want to use "Count" expression but only when Column A and B have specific values.

I managed to do it for one column but I miss how to add the second condition.

Count({<[ColumnA]={'A'}>} ColumnC )

Could you please help?

Thank you.

Best regards,
Rubén

Labels (3)
1 Solution

Accepted Solutions
Kashyap_R
Partner - Specialist
Partner - Specialist

hi

if you want to apply both conditions

Count({<[ColumnA]={'A'},[ColumnB]={'B'}>} ColumnC )

if you want either of the conditions 

Count({<[ColumnA]={'A'}>+<[ColumnB]={'B'}>} ColumnC )

Hope this helps

Thanks

Thanks and Regards
Kashyap.R

View solution in original post

2 Replies
Kashyap_R
Partner - Specialist
Partner - Specialist

hi

if you want to apply both conditions

Count({<[ColumnA]={'A'},[ColumnB]={'B'}>} ColumnC )

if you want either of the conditions 

Count({<[ColumnA]={'A'}>+<[ColumnB]={'B'}>} ColumnC )

Hope this helps

Thanks

Thanks and Regards
Kashyap.R
RubenMoreno
Contributor III
Contributor III
Author

Thank you, it helps!