Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

Display Month verbiage on chart but sort by month number

$
0
0

Hello,

 

I have inserted a simple bar chart (values by month for a single year) and my goal is to get the data values to group by month.

I found that I can achieve this by using a formula that extracts the month from my Date/TIme field MONTH({Command.OB_DELIVERY_DATE}).

This works OK and displays months as 1, 2, 3,  etc. on my chart), but I want to display the month text instead (Jan, Feb, Mar)

 

I tried a second variable:  ToText({Command.OB_DELIVERY_DATE},'MMMM')

This works in displaying the verbiage of the months,however, the problem is that it groups the months on my chart alphabetically now (April is now my 1st month instead of January).

 

What is the trick to displaying month verbiage on my chart, but still sorting these months in their proper numerical order?

 

 

Many Thanks!


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>