Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR xi - formula for Histogram

Status
Not open for further replies.

campia

Technical User
Apr 20, 2007
77
BE
Hi,

I created a histogram with this formula : MonthName(month ({Table.Creation_Date}))
but the months on the report are put at the bad place.
I have for example: April, June, March and May...but I should be March, April, May and June.

Can you help me?
 
Try something like
Code:
ToText({Your.Date}, "yy-MM MMMM")
This would give 07-02 February for February this year, and so will sort correctly.

If that's too long, MMM will give a three-digit month name

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Or in the chart expert select the on change of field->order->choose "Specified Order" and order the month names as you like.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top