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

How to show dates in ascending order ??

HEy,

I want to show my values of Day-Month-Year as on X-axis in ascending order. But my dates are coming in descending order.

How to do it ??

Please help.


Thanks.

11 Replies
arulsettu
Master III
Master III

hi

try in properties -> sort -> your field -> select ascending

nikhilgarg
Specialist II
Specialist II
Author

HEy,

It does not work.

senpradip007
Specialist III
Specialist III

Can you share sample qvw?

nikhilgarg
Specialist II
Specialist II
Author

Hey,

Please find the attached sample.

Thanks

PrashantSangle

Hi,

Instead of using calculated dimension use Date Field as your dimension.

Since you are calculating Day,Month and Year from Date field.

Take Date Field in while loading and add it as dimension

If you want your Date field in DD-MMM-YYYY format then

you can format in while loading like Date(Date,'DD-MMM-YYYY') as NewDate

and take that newDate as your dimension then go to sort property-> Numeric value->descending

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
pandiarajan
Creator
Creator

Sort - > SELECT THE NUMERIC  Value -> ASCENDING

manuelreimitz
Partner - Contributor III
Partner - Contributor III

or sort by expression in worst case!

num(Datefield)

tresesco
MVP
MVP

Sort by expression (Ascending):

=Date#(Day&Month&Year, 'DDMMMYYYY')

However, it is always recommended to create a proper date field in the script to avoid such issues and enhance your app quality.

PFA

sunilkumarqv
Specialist II
Specialist II

@Check attached