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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

month year getselected field issue

hi gurus,

if i select Month Year it should display month in chart lable

output:Jan,Feb,Mar...........

multiple selection display

1 Solution

Accepted Solutions
marcus_sommer

Try: purgechar(getfieldselections(Month, ', '), '-0123456789')

- Marcus

View solution in original post

4 Replies
marcus_sommer

Try: = getfieldselections(Month, ', ')

- Marcus

Anonymous
Not applicable
Author

but if i select month year it should display first 3 letters

ex:

source:     jan-12,feb-12

output:     jan,Feb

marcus_sommer

Try: purgechar(getfieldselections(Month, ', '), '-0123456789')

- Marcus

amit_saini
Master III
Master III

Try this:

='Month'&chr(32)&if(GetSelectedCount(Month)>0,'- '&GetFieldSelections(Month))

Thanks,

AS