Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
suren946
Contributor III
Contributor III

Show Number and selected value in a listbox

Hi,


Could someone help with below requirement.

I need to show selected value and also how many values are selected in a listbox


Ex: Selected values : In,US,UK and Selected No: 3

1 Solution

Accepted Solutions
sunny_talwar

In a text box object, you can try this

='Selected values: ' & Concat(DISTINCT FieldName, ', ') & ' and Selected No: ' & Count(DISTINCT FieldName)

View solution in original post

3 Replies
sunny_talwar

In a text box object, you can try this

='Selected values: ' & Concat(DISTINCT FieldName, ', ') & ' and Selected No: ' & Count(DISTINCT FieldName)

shiveshsingh
Master
Master

Try concat function.

syntax : Concat(DISTINCT Year,',')

suren946
Contributor III
Contributor III
Author

Thank You Sunny  your expression helped me

Also below expression gave me the expected output with slight difference in the output

='Selected Value: ' & GetFieldSelections(Field) &' '& 'Selected No:' &GetSelectedCount(Field)