Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
wanyunyang
Creator III
Creator III

Set Analysis - Date fields comparison

Hi guys,

 

I want to get all Ids with Date1<=Date2 and Date1>=Date3. I'm using:

Count(distinct {<Id={"=Date1<=Date2>=Date3">}Id).

 

This expression is not giving correct result. Any idea how should I correct this?

 

Anything helps. Thank you in advance!

1 Solution

Accepted Solutions
sunny_talwar

Try this

Count(DISTINCT {<Id = {"=Date1<= Date2 and Date1 >= Date3"}>} Id)

View solution in original post

1 Reply
sunny_talwar

Try this

Count(DISTINCT {<Id = {"=Date1<= Date2 and Date1 >= Date3"}>} Id)