I have read the help page on calculating fields in reports which has shown me that calculating fields when generating a report is possible, however, I am unsure how to write a C# expression to be able to sum the total of different types of products on my report.
I currently have a report which shows the tonnage of different types of wood products. Is it possible to create a C# expression which would calculate the total tonnage for each different type of product?
The tonnage data is all recorded in the same field, with there being set product fields (sawlog, woodchip, HWFW, SWFW). I am not sure how write a C# expression to filter which tonnage numbers it adds up.