Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Gartner® Magic Quadrant™: 15 YEARS A LEADER - GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
volcore79
Partner - Contributor III
Partner - Contributor III

Force Listbox Order after Select/Click

Hi,

in my application i have two fields to select months (2 Listboxes): Normal (Jan - Dec), Fiscal (Jul - Jun). "Normal" has no sorting order,

fiscal ist sorted by a formula:

=if (num(Calender.FiscalMonth)<=6,
num(Calender.FiscalMonth)+6,
num(Calender.FiscalMonth)-6
)

This seems to work.

But everytime i select a fiscal month, the listbox order changes an the selected fiscal month get's the "first" list entry.

The sorting order has to be the same - wether somone clicks/selects a fiscal month or not.. How can i force qlikview to do so ?

Regards

Volker

3 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi, Volker,

it is knwon that sort order in listboxes for expressions does not work fine. better you create a field for the fiscal year (months ond so on). Then it runs fine!

prieper
Master II
Master II

If the listbox is wide enough to contain all fields without scrollbars, untick "Sort By State" in the sorting-tab.

HTH
Peter

volcore79
Partner - Contributor III
Partner - Contributor III
Author

Hi Martina,

i already have fiscal-fields. Doesn't work...

v.