Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to mention alternate state in getfieldselection() function?

hi,

i am using getfieldselections() function in chart title to show dynamic changing country values.

=GetFieldSelections(country)

but  i want to show country values which are present in another state called "Primary''.

Is it Possible?or any other solutions?

4 Replies
qlikmsg4u
Specialist
Specialist

there is no functionality similar to this in qlikview

GetFieldSelections(<Primary> Country)

Instead you can use

=Concat({[Primary]} DISTINCT Country,'|')

sunny_talwar

You can specify alternate state in GetFieldSelections() function starting with QV 11.20 SR8. If you have anything later than that, then you can try this:

GetFieldSelections(FieldName, ',', 100, 'AlternateStateName')


Capture.PNG

qlikmsg4u
Specialist
Specialist

Thanks sunindia

sunny_talwar

No problem