Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get Current Selection Value for a particular Field

Hi,

Is there a function which gives the current selection for a particular field.

Thanks & Regards,

Rohit

1 Reply
martin59
Specialist II
Specialist II

Hi,

Extract from the help file :


<h4>GetFieldSelections( fieldname [, valuesep [, maxvalues=6 ]] )</h4>
returns a string containing the current selections in a given field. Valuesep is the delimiter between selected values and defaults to ', '. Maxvalues is the highest number of individual values that will be displayed before 'x of y' notation is used instead. <h2>Examples:</h2>
getfieldselections(Country)
getfieldselections (Country, ';' )
getfieldselections (Country, ',' , 10 )


Martin