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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get Months string from NOT selection

Hi all,

Please help me with some issue:

I want to get some string that contains the opposite months from my selection in case there is NOT on the selection:

For example: I selected the months Mar, Apr, May, Jun, Jul, Aug, Sep and Dec - I'll see in the Current Selection Box:

"NOT Jan, Feb, Nov"

I want to do some manipulation to get the string: "Mar, Apr, May, Jun, Jul, Aug, Sep, Dec"

Put my example on the attachment...

Thanks!

1 Solution

Accepted Solutions
tresesco
MVP
MVP

In a list box:

='Not Selected Months are : ' &Concat(Distinct {<Month=e(Month)>} Month, ' ,')

View solution in original post

4 Replies
ajaykumar1
Creator III
Creator III

Hi,

Take one listbox and in the expression   ='Not' & Monthname

Just try.

Regards,

Ajay

tresesco
MVP
MVP

In a list box:

='Not Selected Months are : ' &Concat(Distinct {<Month=e(Month)>} Month, ' ,')

anbu1984
Master III
Master III

Concat(Month,',')

Not applicable
Author

I did the same but instead e(Month) put p(Month) to get my selected months. Thanks!