Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
maxime66
Creator
Creator

Set analysis

Hi qlikers,

I try to get number of Active policies (state = 'on') at the year before the one selected.

In my exemple i would like to get 1 policy (instead of 2) for year 2017 (when 2018 is selected)

Best regards.

1 Solution

Accepted Solutions
sunny_talwar

Try this

=Count({<state = {'on'}, dates={'$(=dates-1)'}>}  DISTINCT name)

View solution in original post

2 Replies
sunny_talwar

Try this

=Count({<state = {'on'}, dates={'$(=dates-1)'}>}  DISTINCT name)
maxime66
Creator
Creator
Author

Thanks Sunny ! it works