Using Crystal 11, I'm creating a age field if employee is an incumbent in a position.
if (field) = "incumbent" then 1 else 0
if (incumbent) = 1 then (age) else 0
in the report footer, I wanted to add summaries for average age by category. using example above, how do I get it not to count 0's and just average those identified with an age as above?
category age
incumbent 45
talent 0
incumbent 42
talent 0
talent 0
my average for incumbent should = 43.5 not 17.4
Help!!!
if (field) = "incumbent" then 1 else 0
if (incumbent) = 1 then (age) else 0
in the report footer, I wanted to add summaries for average age by category. using example above, how do I get it not to count 0's and just average those identified with an age as above?
category age
incumbent 45
talent 0
incumbent 42
talent 0
talent 0
my average for incumbent should = 43.5 not 17.4
Help!!!