Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selection month

Hello

My problem "is simple" to a list box of months I want to know which have been selected and if within that selection this one in particular.

Ex: select.png

Select January, March, July, September, October, November and December, how I can know if this March, I selected?

I've tried all kinds of functions and it is impossible there is always some event that meets my condition.

Thanks for your help

1 Solution

Accepted Solutions
Not applicable
Author

Hi Antonio, try this:

 

=substringcount(concat(DISTINCT Mes),'mar')

If count =1  March is selected...

I hope you serve!

View solution in original post

9 Replies
awhitfield
Partner - Champion
Partner - Champion

Hi Antonio,

you need a field for 'Year' too!

Andy

Not applicable
Author

No need to know if this March within selected or is not.

awhitfield
Partner - Champion
Partner - Champion

If it's selected, it will show Green!

Andy

Not applicable
Author

Yes, I know.

But I want a variable for compare with other.

Anonymous
Not applicable
Author

Hi

every month in green color are selected,if you want to be sure you can do  a  test , creating a simple table with fields  you  need,once you confirmed  your  info delete the  table.

Regards

awhitfield
Partner - Champion
Partner - Champion

Sorry Antonio, but I really don't understanding what you are asking for! Can you expand / clarify your requirements?

Regards

Andy

Not applicable
Author

I need something like

Index(text(getfieldselections ( Mes, ', ')),'mar')

Not applicable
Author

Hi Antonio, try this:

 

=substringcount(concat(DISTINCT Mes),'mar')

If count =1  March is selected...

I hope you serve!

Not applicable
Author

Thanks so much, worked perfectly