Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort Month Name

Hi,

I have a question. I have load a calendar data successfully. When I want to show Month Field using list box, the first data is Dec not Jan. I have two field to be used in sort column, MonthNum (1-12) and MonthName (Jan-Dec). Anybody knows the method to sort month name correctly ?

Really appreciate your help, thanks

22 Replies
jagan
Luminary Alumni
Luminary Alumni

I mean you have to give this expression in all the month list boxes.

Regards,

Jagan.

Not applicable
Author

Oh I see Jagan,

So do you have another suggestion or method ?

Thanks Jagan

Not applicable
Author

If you use just MonthNum in the sort -> Expression, when you select one month, MonthNum will become 'Null' for not selected months. This causes them to appear first. To avoid this, irrespective of month selections, Only({1}MonthNum) always returns the corresponding number.

And as suggested earlier, to avoid this work around, always use date functions to create master calendar.

Regards,

KKR