Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
vengadeshpalani
Creator
Creator

Need "All selection" Button

Hi all,

i have list box Flag here  I need one more option like ALL

  1. if i select ALL it want to select all value in the list box (Green Flag, Red Flag, Yellow Flag)
  2. if we did not select any value it wants to select Green flag automatically 

5.png

Result should be like

6.png

Thanks,

1 Solution

Accepted Solutions
sunny_talwar

May be this

=If(GetSelectedCount(Button) = 0, 'Green Flag',

If(SubStringCount(Concat(DISTINCT '|' & Button & '|', ','), '|All|') = 1, '("Green Flag"|"Red Flag"|"Yellow Flag")',

'(' & Concat(DISTINCT Chr(34) & Button & ' Flag' & Chr(34), '|') & ')'))

View solution in original post

15 Replies
sunny_talwar

Attached file is blank... can you repost?

antoniotiman
Master III
Master III

Hi,

see Attachment.

Regards,

Antonio

vengadeshpalani
Creator
Creator
Author

PFA

Sakura
Creator
Creator

When there is no selection it is select from all (meaning no filter). Add All by Inline with no value.

sunny_talwar

Not sure if antoniotiman‌ already have what you want, but when you clear the selection, do you want to see Green Flag or you want to see nothing selected?

vengadeshpalani
Creator
Creator
Author

when i select clear

flag list box want to select Green flag and button also want to select green

if i select green and yellow means it's not reflect in list box 

vengadeshpalani
Creator
Creator
Author

thanks for reply

when i select green and yellow means it's not reflected  in list box

sunny_talwar

So right now when you select clear, Green Flag is selected, but when you select Green and Yellow together, then nothing is selected? Is that the issue?

What do you want to see when Clear is selected?

What do you want to see when Green and Yellow are selected together?

vengadeshpalani
Creator
Creator
Author

by default or using clear--> Green want to select in button and listbox

other than that whatever user select in button it want to reflect in listbox

if they select all means it want to select all flag