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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

read selected value of list box

Hello

I got a list box that has a state ='CurrentYear' and is displaying years (column name ='Year')

I want to display the selected value of this list box in a textbox

please advise

I can walk on water when it freezes
6 Replies
Not applicable

Hi,

if only one year can be selected, you can for text in textbox set =Year.

regards

ali_hijazi
Partner - Master II
Partner - Master II
Author

This is true if the list box doesn't have a state

so no this is not the answer

I can walk on water when it freezes
jagan
Partner - Champion III
Partner - Champion III

Hi,

What is the "State" you are referring? Can you attach sample file.

Regards,

Jagan.

SunilChauhan
Champion II
Champion II

Use

=getfieldselections(Year)

hope this helps

Sunil Chauhan
ali_hijazi
Partner - Master II
Partner - Master II
Author

Check the attached image

I meant the alternate state

I can walk on water when it freezes
jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this,

For single value selection

=Only({AlternateStateName} Dimensionname)

For Multi value selection

=Concat({AlternateStateName} DISTINCT Dimensionname, '|')

Hope this helps you.

Regards,

Jagan.