Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
Luminary Alumni
Luminary Alumni

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
Luminary Alumni
Luminary Alumni

Hi,

Try this,

For single value selection

=Only({AlternateStateName} Dimensionname)

For Multi value selection

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

Hope this helps you.

Regards,

Jagan.