Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bushpalaamarnat
Creator
Creator

Sorting by monthyear error

Hi every one,

Could any one advise how to sort month year option as i have been facing problem with Jan 2017 and Jan 2018. No matter what selection was made in sorting these two months are showing at the end. Please refer the screen shot for better understanding.

Could some one help.

1 Solution

Accepted Solutions
sasiparupudi1
Master III
Master III

Try this expression in the sort tab

Date(Date#(MonthYear,'MMMYYYY'))

View solution in original post

3 Replies
olivierrobin
Specialist III
Specialist III

hello

you should have a field in which the date is stored in format YYYYMM and sort on this field

you may also use dual to associate this value with the content of the field used in your graph:

i mean dual(field used in your graph, date in format YYYYMM) as .....

bushpalaamarnat
Creator
Creator
Author

Hi, thank you for your response. the month and year is in text format, using your funtion i tried doing =dual(MonthYear,Date('MMMYYYY')) and it did not work, is there something else to do?

attaching the format for reference.

Kindly advise.

sasiparupudi1
Master III
Master III

Try this expression in the sort tab

Date(Date#(MonthYear,'MMMYYYY'))