Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
sgagliardi
Partner - Contributor III
Partner - Contributor III

Range Filter Selections

I'm attempting to create a filter with option selectors for months 6 months out from a value, in my case SERVICE_DATE. I've read that I could use =pick(math( for this, and my formula looks like:

 

=pick(match(-1,SERVICE_DATE <= addmonths(SERVICE_DATE,6) and SERVICE_DATE <= addmonths(SERVICE_DATE,5) and SERVICE_DATE <= addmonths(SERVICE_DATE,4) and SERVICE_DATE <= addmonths(SERVICE_DATE,3) and SERVICE_DATE <= addmonths(SERVICE_DATE,2) and SERVICE_DATE <= addmonths(SERVICE_DATE,1)),'6 Months','5 Months','4 Months','3 Months','2 Months','1 Month')

 

Not having much luck. It will display for me '6 Months' as an option, but no others.

0 Replies