Margin report (percentage field) by group
I need a product margin report which is not only for each item but also for a group. I create a report by attached calculation fields and summary fields. First three fields are for each item and it works. Next three fields are for group when report is sorted. SellingPriceSum and ProfitSum are OK for the sorted report while MaginByGroup is not correct. How can I get margin for group?