Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
agni_gold
Specialist III
Specialist III

List box sorting

Hi Experts ,

Is this possible in listbox ,

if i have two different listboxs one is year and other is account , both fields are linked ,

but if i select year then account will not sort by year value .

6 Replies
evan_kurowski
Specialist
Specialist

Hello Agnivesh,

What you need is a dynamic sort expression in the Account listbox.

=IF(GetSelectedCount(Year)>0,Account, Max({1} Year))

agni_gold
Specialist III
Specialist III
Author

No friend ,

Actually when i select year then Account will not sort, and when i select account year may sort .

evan_kurowski
Specialist
Specialist

Agnivesh Kumar wrote:

Hi Experts ,

Is this possible in listbox ,

if i have two different listboxs one is year and other is account , both fields are linked ,

but if i select year then account will not sort by year value .

The wording here allows multiple interpretations.  How about we define some explicit behaviors:

When a selection is made in the field Year, the field Account should sort by _____________

When a selection is made in the field Account, the field Account should sort by ______________

settu_periasamy
Master III
Master III

Hi Agnivesh,

Did you try the State as 'Ascending' in both Listboxes like the below screen shot..

Capture.JPG

krishna20
Specialist II
Specialist II

Hi,

May be this?? Select Ascending or Descending depends on requirement.

comm_186320.png

avinashelite

write a expression for the sorting and check on the LOAD on STATE ..if your still facing issues please provide the sample app.