Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Partner
Partner

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

Re: Problem with Set Analysis

May be this is what you want

 

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

 

1 Reply

Re: Problem with Set Analysis

May be this is what you want

 

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