Discussion board where members can get started with QlikView.
I have a listbox which shows me the Weekstart date - Weekend date and the Week number.
Dual(num(if( month(WeekStart( RE_DAY) )<> month(RE_DAY), 1 , day(WeekStart( RE_DAY) )),'00')
&' - '&
Num(if( month(WeekEnd(RE_DAY))<> month(RE_DAY), day(RE_DAY) , day(WeekEnd( RE_DAY) )),'00'),
If(month(WeekStart( RE_DAY) )<> month( RE_DAY), 1 , day(WeekStart( RE_DAY) ))) &' Week '& Week(RE_DAY)as Weeks
I would like to sort this by Week from smallest to largest e.g
How can I do this cause the listbox sort propeties is not helping?
Go to Solution.
Go to sort tab and select expression .
you need to count your actual strings till 'k' (last string before numeric week no. ex.. 1 ,2 etc)
Hope your problem will be resolve.
there is a "formula" checkbox on the "Sort" tab in the dialog, no?
There you can enter the formula (using Subfield()) to split out the number which is the last segment in your constructed "Weeks"_field and specify ascending sort order.
Have you tried the Loadorder - Orginal under the sort tab?
Thanks a lot