Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewforum
Creator II
Creator II

Help required to sort!

Hi,

I have Date field which contains the values like 2013-Nov-44, 2013-Nov-45, 2013-Nov-46 and so on. Here 44,45 and 46 are the weeknumber.

Can someone please help me out to sort this.

12 Replies
sujeetsingh
Master III
Master III

Try shorting it by expression and give date field there

Not applicable

Hi,

Can i have the expression used to create the Above field.?

reply Soon.

Regards,

Ravikant

rohitians
Creator III
Creator III

Hey,

Can you upload a sample qvw..

Thanks..

sujeetsingh
Master III
Master III

give me the sample i may try

qlikviewforum
Creator II
Creator II
Author

Sorry can't attach the qvw

israrkhan
Specialist II
Specialist II

Hi,

Try Y-Value Assending.

qlikviewforum
Creator II
Creator II
Author

No I didn't work out when I sorted it by Y-Value Ascending.

By the way it was working when I sorted it by expression in Ascending order.

left(DateField,4)&''&right(DateField,2).

dmohanty
Partner - Specialist
Partner - Specialist

Post some sample data and expression you are using, if not the QVW.

israrkhan
Specialist II
Specialist II

thats good try,

but try only right(DateField,2), it will take right two values, as 44, 45, 46, and also try using num like Num(right(DateField,2)), it might help.