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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to get it in variable ?

How to get it in variable . The selection in filter.

See the screenshot Capture.PNG

For eg,

vExample should contain 2017Mar

Sample attached.

1 Solution

Accepted Solutions
ciaran_mcgowan
Partner - Creator III
Partner - Creator III

=GetFieldSelections([Planning Year]) & GetFieldSelections([Planning Month])

View solution in original post

4 Replies
ciaran_mcgowan
Partner - Creator III
Partner - Creator III

=GetFieldSelections([Planning Year]) & GetFieldSelections([Planning Month])

MK_QSL
MVP
MVP

=Date#(max([Planning Year])&Date(Max(Date#([Planning Month],'MMM')),'MMM'),'YYYYMM')

sunny_talwar

I added two triggers... 1 to Planning Year Field and the other one to Planning Month field to get this.

Capture.PNG

ThornOfCrowns
Specialist II
Specialist II

This was the reply I was typing, but have been ninja'd again!

Create the variable vExample

Go to Settings|Document Properties|Triggers

For both Planning Year and Planning Month

Add an Action for On Select

Choose Add|External|Set Variable

Enter the variable name vExample

Enter =GetFieldSelections([Planning Year])&GetFieldSelections([Planning Month]) as the Value