I have 2 files, requests and actions and a request can have many actions. In my report I want to list and count only one action per request.
I tried to condition the detail section which works but still counts the other duplicate request actions.
Also tried to create a {@duplicate record} formula to check when duplicate record found:
if previous ({aualdocs.fmt_acc}) = {aualdocs.fmt_acc} then true else false
I then have a flag field {@over_365days} that I set (and sum) based on following conditions:
if ({aualdocs.rec_dte}) >= {@date 365 from} // date range
and ({aualdocs.rec_dte}) <= {@date 365 to} // date range
and isNull ({aualdocs.det_cde}) // record status
and not({@duplicate record})
then 1
else 0
... but then the sum of {@over_365days} gives me an error:
"A summary has been specified no a non-recurring field. Details: @over_365days"
I need to sum all non duplicates only...
Any suggestions will be appreciated.
Luis
I tried to condition the detail section which works but still counts the other duplicate request actions.
Also tried to create a {@duplicate record} formula to check when duplicate record found:
if previous ({aualdocs.fmt_acc}) = {aualdocs.fmt_acc} then true else false
I then have a flag field {@over_365days} that I set (and sum) based on following conditions:
if ({aualdocs.rec_dte}) >= {@date 365 from} // date range
and ({aualdocs.rec_dte}) <= {@date 365 to} // date range
and isNull ({aualdocs.det_cde}) // record status
and not({@duplicate record})
then 1
else 0
... but then the sum of {@over_365days} gives me an error:
"A summary has been specified no a non-recurring field. Details: @over_365days"
I need to sum all non duplicates only...
Any suggestions will be appreciated.
Luis