dunlop1975
IS-IT--Management
a summary has been specified on a non recurring field"
I am in the process of building a report that needs to pull data from the first case of that is in a certain time range (determined via parameter).
originally I used the min function within a group selection critera and everything looked ok. On closer inspection, even though the other cases do not appear on the report it seems they are still being used in the calculations
To get around this I tried to make a change to forumal below
if isnull({Field1}) then 0
else if ({Field2} = previous({Field2}) and {Field3} = previous({Field3})) then 0 <----this is the change
else 1
without the comparision line, the formula works perfectly to be used for my weighted averages, but I now receive :
"a summary has been specified on a non recurring field"
I'm stumped as regardless there should always be a value (1 or 0) returned in this formula.
Any ideas?
I am in the process of building a report that needs to pull data from the first case of that is in a certain time range (determined via parameter).
originally I used the min function within a group selection critera and everything looked ok. On closer inspection, even though the other cases do not appear on the report it seems they are still being used in the calculations
To get around this I tried to make a change to forumal below
if isnull({Field1}) then 0
else if ({Field2} = previous({Field2}) and {Field3} = previous({Field3})) then 0 <----this is the change
else 1
without the comparision line, the formula works perfectly to be used for my weighted averages, but I now receive :
"a summary has been specified on a non recurring field"
I'm stumped as regardless there should always be a value (1 or 0) returned in this formula.
Any ideas?