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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
govindvasu
Contributor III
Contributor III

If condition set analysis

I have to write the below set analysis condition.

If count=1 then it has to display the data  between two years.

Example

emp_id   count    Date

1                     0           08/07/2022

2                     1           08/09/2021

3                     1          08/07/2020

1                     1          08/07/2021

1                     1          08/07/2020

 

The resultant output should be 

if count=1 and year between 2021 and 2022 

2                     1           08/09/2021

1                     1          08/07/2021

 

if count=1 and year between 2020 and 2021 then 

2                     1           08/09/2021

3                     1          08/07/2020

1                     1          08/07/2021

1                     1          08/07/2020

 can someone help in writing the set analysis code this example

Labels (4)
1 Reply