Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Kohli
Creator II
Creator II

Month-Year is not getting in Proper order

I date field. From that date field , I have created MMM-YYYY field with function 

Month(DATE)&'-'&Year(DATE)AS  Month_Year.

Iam getting month OCT-2017, Nov-2018, Oct-2018

I need OCT-2017, OCT-2018, Non-2018.   

1 Solution

Accepted Solutions
PrashantSangle

Hi,

To evaluate month year from date you can use
MonthName() or Date(dateField,'MMM-YYYY')

Use above 2 functions and try.

Regards,
Prashant Sangle
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 🙂

View solution in original post

5 Replies
dx_anupam
Creator
Creator

Hi ,

I think you are using qliksense ,and created a custom dimension with formula

Month(DATE)&'-'&Year(DATE).

Once you are done with the visualization you can apply sorting based on sort numerically.

it will fix the issue.

Kohli
Creator II
Creator II
Author

No, It not Solving.. i am already selected that only.

pradosh_thakur
Master II
Master II

sort by expression
right(Month_Year,4)
Learning never stops.
PrashantSangle

Hi,

To evaluate month year from date you can use
MonthName() or Date(dateField,'MMM-YYYY')

Use above 2 functions and try.

Regards,
Prashant Sangle
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 🙂
Kohli
Creator II
Creator II
Author

Thanks a lot. It's absolutely working fine..