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: 
NavinReddy
Creator II
Creator II

have list box issue

Hi Community,

i have list box issue

I have list box like      Jan ,April,Aug ,Dec,Feb,july,march,nov....

but i need to be arrange  Jan,Feb,March,April,May,June,July....

I tried but Accesding order every thing

Is there any manually arrange

Could some one help me

Thanks in Advance,

Rohith

8 Replies
hic
Former Employee
Former Employee

If you create this field using the Month() function, the values will be dual (both text and number) and they will be sorted automatically.

HIC

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

On Properties/Order tab there are different metods to order this, try with an expression or load order

NavinReddy
Creator II
Creator II
Author

Hi Henric,

now also i got same issue

i didn't get give some example

Thanks,

Niranjan

Not applicable

try this

month(date(date#(field,'MMM'),'MMM')) as month

Not applicable

suppose your field name in listbix is fieldmonth

in listbox properties-

general tab--> select dropdown in Field--> select expression --> then write this code-

month(date(date#(fieldmonth,'MMM'),'MMM'))

NavinReddy
Creator II
Creator II
Author

  Inline:

     Load * inline [

     Month, MonthSort

     JAN,1

     FEB,2

     Mar,3

     ..

     ];

     Make sure that the Month field name links with your month field in data model.

     Now go to the listbox properties- > Sort ->Select Expression ->Type MonthSort.

its working fine but if i press Jan it goes some where

it con't Stable at

Thanks,

Rohith

Not applicable

Hi,

Goto your list box --> Sort --> Expression (Paste the expression =Date#(Your month field,'MMM')) and have it as asending order.

Capture.PNG

Regards,

Kabilan K.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Yes, in sort option you will see the first option State, Check that and say Ascending.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!