I am trying to display a Summary field in the Detail section of a report. The report is grouped by Customer. A customer may have multiple IPDETAIL and INBOUND records. I want to show the total volume for a particular customer. The formula to calculate the volume is as follows:
If {Waste.unit} = 'T' and {Waste.ps} = 'P' then
{Ipdetail.quantity}
else If {Waste.unit} = 'Y' and {Waste.ps} = 'P' then
{inbound.tons}
else If {Waste.unit} = 'U' and {Waste.ps} = 'P' then
{inbound.tons}
else 0
Thank you.
If {Waste.unit} = 'T' and {Waste.ps} = 'P' then
{Ipdetail.quantity}
else If {Waste.unit} = 'Y' and {Waste.ps} = 'P' then
{inbound.tons}
else If {Waste.unit} = 'U' and {Waste.ps} = 'P' then
{inbound.tons}
else 0
Thank you.