Hi All,
In a report I have to display the Average row-wise.
Attached is the expected report layout.
I have to sum each value of the row and divide it by total no of customers on the report.
How can I achieve this ? Please suggest.
in your custom report add a new field "average" in the line dataitem, add a new variable average to the report vars.
in trigger OnAfterGetRecord add the code to calculate the average value.
in the layout add the new field.
I don't want to deal with Excel import or export.
It is just a layout.
I have to calculate the sum and average on RDLC only.
Write code to sum your values and add a column in your excel export or export a new column with a calculation.
You may want to look deeper into the code of your object to understand the Excel methods in NAV. Also have a look in other Excel export objects of Navision. They give a lot of hints.
Sohail Ahmed
756
YUN ZHU
731
Super User 2025 Season 1
Mansi Soni
529