Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

make group in listbox

Hi,

     i am having country lsitbox like this

    

     india

     us

     uk

     aus

what i need is

     india

     us

     uk

     aus

     group

if i select grouop it should select all countries

can anyone tell me how to do it?

Thanks

1 Solution

Accepted Solutions
Siva_Sankar
Master II
Master II

Arul,

find the attached qv application. you need to create a trigger under document properties. Let me know if you need help in locating it.

View solution in original post

9 Replies
PrashantSangle

Hi,

Create Inline table or maintain mapping in Excel sheet

Like Load * INLINE[

Country, CountryGroup

india,India

us,US

uk,UK

aus,AUS

india,Group

us,Group

uk,Group

aus,Group

];

and link Country field with your Country Field and use CountryGroup as new Listbox

or You can also go with applymap()

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
arulsettu
Master III
Master III
Author

Max

     can you tell how to it with applymap

PrashantSangle

Hi,

In applymap case also you required inline table which maintain your country and mapField.

So better if you go with first suggestion.

For applymap I will get back to you with example.

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
arulsettu
Master III
Master III
Author

ok

Siva_Sankar
Master II
Master II

Arul,

find the attached qv application. you need to create a trigger under document properties. Let me know if you need help in locating it.

Siva_Sankar
Master II
Master II


There is other way to achieve the same without trigger. find the attachment.

Not applicable

Your solution works perfect fine.Thanks Siva.

arulsettu
Master III
Master III
Author

i will check siva

thanks

arulsettu
Master III
Master III
Author

both solutions work fine.

thanks everyone.