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: 
g23
Contributor III
Contributor III

Creating a variable using GetSelectionField

Dear All, I have a month field dimension MONTH_STRING=Date(Date#([Data.autoCalendar.Month],'MMM'),'MMMM') What I would like to do is to create a variable for MONTH_STRING that allows me to select one or more months. I tryied to create a variable using GetSelectionField such as: vMonth=GetFieldSelections((Date(Date#([Data.autoCalendar.Month],'MMM'),'MMMM')),',',12) but it doesn't seam to work. Can you guys please help me understand how can I write a variable for MONTH_STRING that allows me to select one or more than one month? Thanks in advance
3 Replies
JordyWegman
Partner - Master
Partner - Master

Hi G23,

Why don't you use a filter pane for this?

Jordy

Climber

Work smarter, not harder
g23
Contributor III
Contributor III
Author

Because I need to create a text area that shows me the selected months in the filter panel.

So I need to insert a variable in the text area that changes depending on the selected month of MONTH_STRING

JordyWegman
Partner - Master
Partner - Master

Hmm.. I know what you want, but Qlik already shows this in the top layer in Green/DarkGrey/LightGrey. 

But you can try it with the Concat(GetFieldSelection([YourField],'|').

Jordy

Climber

Work smarter, not harder