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

Different counts needed 1

Status
Not open for further replies.

lholodnak

IS-IT--Management
Mar 26, 2004
21
I'm using crystal 9.0 that accesses oracle tables for the data. I have a report that I need to distinct count the total number of service requests numbers that were opened for a start and end date, I have start and end date parameters setup in my report. But then I need to count how many work orders (that meet a selected criteria such as "RPR") were completed during the same start and end date parameter. We have many work orders tied to one service requests so I using Work Order comp date - Srv Req Start Date to get a count of work orders completed. I just can't seem to get this right. Thanks for your help.
 
I think you could use a formula like:

if not isnull({table.wocompldate}) and
{table.criterion} = "RPR" then 1 else 0

Then right click and insert a summary (SUM, not count) on this formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top