Posted 18 September 2018, 1:46 am EST
Hello,
In C1FlexReport, we do not correctly calculate aggregates which reference report (as opposed to db) fields, because doing so would adversely affect rendering performance.
In order to achieve correct values, you can use any of the following methods:
- Set subreport’s BehaviorOptions.EnableAggregatesOnReportFields property to true (screenshot attached).
or,
- Apply aggregate function on DB field
Example: In case of the attached report, set Text of SumCtl field in subreport’s footer to sum(ReorderLevel.Value) instead of sum(ReorderLevelCtl.Value).
Hope it helps.
Best Regards,
Esha
SubReport Files.zip