Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
marco_puccetti
Partner - Creator
Partner - Creator

List Box sorting

Hello, i have sorted a list box, with a dual function, but i have noticed that the sorting is working only before the selection, after having selected the field, the sorting is lost.

Immagine5.png

Immagine6.png

How can i solve this?

Thanks

Marco

19 Replies
marco_puccetti
Partner - Creator
Partner - Creator
Author

This not solve the problem.

Marco

agni_gold
Specialist III
Specialist III

Friend actually , i am saying , please add dual in your calender script , can you please send me your sample application

sunny_talwar

Try this:

=Dual(Only({1} [Mese di Decorrenza]),Only({1} [Mese di Decorrenza Num]))

stigchel
Partner - Master
Partner - Master

Try with

=dual(Only({1} [Mese di Decorrenza]),Only({1} [Mese di Decorrenza Num]))


But you probably don't need the dual and can use

=Only({1} [Mese di Decorrenza Num])



marco_puccetti
Partner - Creator
Partner - Creator
Author

This is the dialog in which i have set the dual function.

Immagine7.png

Marco

marcus_sommer

Of course it's possible to solve it with a sort-expression but better would be to solve it with native fields within the script - preferably within in a master-calendar: How to use - Master-Calendar and Date-Values

- Marcus

marco_puccetti
Partner - Creator
Partner - Creator
Author

With this statement

=dual(Only({1} [Mese di Decorrenza]),Only({1} [Mese di Decorrenza Num]))


now the calendar is sorted properly also after selection.


Thanks a lot

Marco



sunny_talwar

Awesome

If you got what you were looking for, I would request you to close the thread by marking correct answer as well as helpful answers.

Best,

Sunny

marco_puccetti
Partner - Creator
Partner - Creator
Author

Just Done!

Marco

sunny_talwar

Thank you