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

Default selection in list box after clear all

Hi friends,

I have created the list box as month,year. when the user click clear button, it should make the list box to default selection like current month and year.

I have done that in trigger present in document properties.

Document properties - > trigger -> on any select -> select in field -> Month ->if(getselectedcount(Month)=0, maxstring(Month),Month)

It is working fine. but i cannot able to multi-select two or more months in list box.

How to make the multi selection possible in the list box?

Please let me know in case of any clarifications.

1 Reply
sunny_talwar

May be this

If(GetSelectedCount(Month) = 0, MaxString(Month), '(' & Concat(DISTINT '"' & Month & '"', '|') & ')')