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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ajayagraa
Contributor
Contributor

Convert expression to set analysis

HI All

I am new to qlik view can anyone tell me how can i convert my expression given below to set analysis expression

Count(Distinct if(MonthName=KPIMonth and STATUS='CLOSED', bl_no))

I have used this but not working

Count( Distinct {$<MonthName={'$(KPIMonth)'} ,STATUS={"CLOSED"}>} bl_no)

1 Reply
juleshartley
Specialist
Specialist

Hi,

I assume 'KPIMonth'  is a variable? I think it might be that you need another '=' in the monthname bit... try this

=

          Count(distinct

          {$

          <

          MonthName= {"=$(KPIMonth)"}

          ,STATUS={"CLOSED"}

          >

          }

          bl_no

          )

Any good?