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!

Group by months when a month doesn't exist. 1

Status
Not open for further replies.

dgrazioso

Programmer
Aug 11, 2003
6
US
I need to group invoices by month. That part is easy: either group on the invoice date and change every month, or create a formula Month(Invoice Date) and group on the formula. The problem is that some customers have no sales for the month, so the report for that customer looks funky, as it is missing month names. I use the MonthName function to show:
Jan
Feb
Apr
Sept
Dec
This is annoying the end users. Thanks!!!
 
Appreciate your quick reply. The BOBJ white paper looks like a possibility - I'll give it a try. Thanks for your help!
 
If you have CR XI then you can use query in a command object to select all of the dates required and then LO join it to your table.

Try posting your Crystal version for better results.

-k
 
There was a series of articles in the early days of our Crystal Clear Newsletter looking at reporting from missing data.

This missing month problem was solved using Previous and Next functions to create the missing months as a string.

Download the back issues for details.

Editor and Publisher of Crystal Clear
 
I'm working with version 8.5. Good to know other versions offer more solutions. I'll check out the Newsletter. Thanks to ALL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top