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: 
Not applicable

List box clear field issue

 

Hello Everyone,

I have a issue on clearing the selected value in list box by clicking again on selected field.

Eg: If I select a value in 'Age' list box, it is not getting cleared if I click on it again.

This issue is because I used the expression in list box to show the values only for the selected country and 'country' list box has "Always one selected value enabled".

Note: I need the "Always one selected value enabled" enabled in country list box.

Please find the attached test.qvw for reference.

Could anyone please help me to clear the selected value in list box by selecting the same value again?

Thanks in advance,

Karthikeyan.

6 Replies
MK_QSL
MVP
MVP

If you have always one value selected in one list box, other list boxes also reflected by the selection due to the data association.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Instead of using experssion in list box try like this

Select Age in List box, and then Select Hide Excluded option in General tab.

Regards,

Jagan.

Not applicable
Author

Thanks for your response.

Yes, you are correct. But if I have a button to clear the selection from the list box, it's working by clearing only list box value and without clearing the country field value, which is the operation I want.

But I don't want to have a button to clear the selected value of list box.


Not applicable
Author

The hide excluded option is already enabled.

Please refer my attached test.qvw

vijetas42
Specialist
Specialist

Hi,

Use expression in list box as =Aggr(Fieldname,FieldName)

Not applicable
Author

No Luck. Same thing happening.

I used expression Aggr(Age,Country)