Good Morning

Dear Friends I have little experience with Crystal, I developed a report in Crystal to the "Summary of Basic Basket" of classes of a company is the problem in time for him to bring the final result of each class. each class has a column of active and missing certificate and the period indicated.

this wrong.

Class assets attestation lack
57232 91 0 18
57233 118 22 0
57305 165 3 2
57376 129 8 31
66841 129 10 43
69282 127 13 51
69283 128 19 57
69334 129 17 75

data that are certain are that made the hand checking.

Class assets attestation lack
57232 91 0 18
57233 118 0 11
57305 165 3 1
57376 129 5 13
66841 129 2 14
69282 127 3 10
69283 128 2 5
69334 129 2 3

was created formulas

1st

/ / Shared variable:
/ / Group header 2:
shared absence numbervar: = 0;
"" / / Hide the zero

2nd

shared numbervar absence;
/ / Shared numbervar fault;
if (Sum (AGR_FALTA_ATESTADOS_V.ATESTA {}, {} AGR_FALTA_ATESTADOS_V.CD_FUNC))> 5
then absence: absence = 1 / / i do not know what makes the fault
"" / / Hide Increasing the number

3rd

shared numbervar totAbsence;
shared numbervar absence;
if absence> = 3 then totAbsence: totAbsence = 1;
"" / / Hide the full incrementing

4th

shared numbervar totAbsence;
were created these formulas can see that the values ​​sum when they bring the values ​​of the second group forward. coloqueis two to compare.

I need someone to help answer

urgent who can help will be grateful.