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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping for previous year comparison 1

Status
Not open for further replies.

pk400i

MIS
Feb 10, 2009
102
US
HI I have to write a Crystal Report that will show groups such as Food products sold, e.g. Meat, Fish, others, etc.
comparing this year month with last year/month going back 4 months as well.

I was not sure if this is something you group on or how to set up such buckets here.

Thank you for any pointers and assistance.
 
You could group by year within Food product. Or do running totals that find the totals for the months you mentioned.

If you're not already familiar with Crystal's automated totals, see FAQ767-6524.

Another option is to use record selection to get records for just the revelant months, then do a crosstab.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top