Hi,
I have a bunch of dates in this format MM/DD/YYYY. I created a function called @DateMonth and used 'Month (x)' to get the month only - the values are returned as a number, that is 1 is January, 2 is February, etc. When I chart this out on the X axis, the months appear in perfect ascending order - 1, 2, 3, 4, and so on.
But I need the actual month name, instead of the numeric equivalent. So I created a new function called @MonthName and used the 'MonthName (x)' function to convert the numeric value to the actual month text.
It looks like this:
But now when I chart this out using the @MonthName function on the X axis, the order of the months is random - even though I specifically say to sort in 'ascending order'.
CR is ignoring my sort request when I use @MonthName - which is essentially a function of a function.
Is there a workaround for this?
thanks!
I have a bunch of dates in this format MM/DD/YYYY. I created a function called @DateMonth and used 'Month (x)' to get the month only - the values are returned as a number, that is 1 is January, 2 is February, etc. When I chart this out on the X axis, the months appear in perfect ascending order - 1, 2, 3, 4, and so on.
But I need the actual month name, instead of the numeric equivalent. So I created a new function called @MonthName and used the 'MonthName (x)' function to convert the numeric value to the actual month text.
It looks like this:
Code:
MonthName ({@DateMonth})
But now when I chart this out using the @MonthName function on the X axis, the order of the months is random - even though I specifically say to sort in 'ascending order'.
CR is ignoring my sort request when I use @MonthName - which is essentially a function of a function.
Is there a workaround for this?
thanks!