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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
LAlvarado
Partner - Contributor
Partner - Contributor

Problem with Set Analysis

Hi all I've been having a problem when using a set analysis with a variable, the expression being:

COUNT({<IdType={$(vTord)}>}OpNum)

IdType is a field that can have either 1 or 2 as a value, and it works when $(vTord) shares the same value AS IdType showing the correct "result"

However, even when the value in $(vTord) is different from the one selected in IdType, the previous expression still returns true

how can I fix this without using an "IF" ?

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar

May be this is what you want

 

Count({<IdType *= {$(vTord)}>}OpNum)

 

View solution in original post

1 Reply
sunny_talwar

May be this is what you want

 

Count({<IdType *= {$(vTord)}>}OpNum)