Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
shwetagupta
Partner - Creator II
Partner - Creator II

Convert if condition to set analysis

Hi,

I want to convert this if condition into set analysis. Is it possible?

If(Num(Month(MaxInvoiceDate))- Num(Month(MinInvoiceDate))>=1 ,Count(distinct Contact_ID))

Thanks!!

1 Reply
kkkumar82
Specialist III
Specialist III

Count(Distinct {<Contact_ID = {"=($(Num(Month(MaxInvoiceDate))- Num(Month(MinInvoiceDate))))>=1"}>}Contact_ID)

If you have a dimension, replace first Contact_ID with that