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

How do you count null records

Status
Not open for further replies.

lcutliffe

IS-IT--Management
Dec 1, 2006
30
0
0
US
Hi I am working on a report that tallys jobs with Promise Dates. I need to have a percentage breakdown of how many dates were on time but the problem is, some of the Promise date fields on some of the records are blank, so my total doesn't reach 100%. Is there a way I could count the null Promise date records and go from there. I'm trying to get a count on the records that have blanks for Promise dates but have had no luck so far.
 
will the number of dates to reach 100% be equal to the total number of records?

_____________________________________
Crystal Reports XI Developer Version
Intersystems Cache 5.X ODBC connection

 
then could you use a count field from another field that is never blank? {problem.ticket)

else you could count the null fields this way in a formula

if isnull({date.field}) = true then 1 else 0

i sum of that field will provide a count of null values

_____________________________________
Crystal Reports XI Developer Version
Intersystems Cache 5.X ODBC connection

 
That little formula did the trick, Thank you :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top