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!

Creating a formula using the answeres of two other formulas.

Status
Not open for further replies.

mbs9

IS-IT--Management
Mar 22, 2001
1
US
I have a field called {REQUESTS.RECIEVE_DATE}. From it I can get total number of requests recieved LastFullMonth and MonthToDate. What I want to do is divide the two and multiply by 100 so that I get a percentage of requests recieved so far this month compared to the total last month. I have tried various formulas such as-

Count ({REQUESTS.RECIEVE_DATE} in MonthToDate)/ Count ({REQUESTS.RECIEVE_DATE} in LastFullMonth)

but I keep getting errors. Please help. Thanks.
 
You have to use conditional totals. See the FAQ on how to do conditional (Part of FAQ 1.B) and then you can use the totals in your formula.

Don't let the word "condition field" in the summary function list fool you. This field means a group field. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top