0

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.

  • Try to make sure your documentation link matches the version you are using or 'latest', so it doesn't get broken when the ancient software is retired. – Vince Apr 18 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.