Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
See why BI users voted Qlik #1 in 11 categories. GET REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
Partner
Partner

Hi G23,

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

Jordy

Climber

Work smarter, not harder
Highlighted
Contributor III
Contributor III

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

Highlighted
Partner
Partner

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