Definiera varje steg en gång, på dina data.
Varje stapel i vattenfallet är en formelkolumn i en view. Bonusar och frakt hämtas från sina egna källor, så att halvan utanför fakturan ligger bredvid fakturan.
| Namn | Typ | Formel |
|---|---|---|
| Deal Discount | Belopp | ('Customer Price' - 'Invoice Price') * 'Quantity' |
| Invoice Revenue | Belopp | 'Invoice Price' * 'Quantity' |
| Rebates | Belopp | 'Invoice Revenue' * coalesce(lookup(source="datasets", name="Rebate accruals", result="Accrual Rate", match_by=['Customer':'Customer']), 0) |
| Freight Allowed | Belopp | 'Invoice Revenue' * coalesce(lookup(source="datasets", name="Freight rates", result="Freight Rate", match_by=['Ship-to Region':'Region']), 0) |
| Pocket Revenue | Belopp | 'Invoice Revenue' - 'Rebates' - 'Freight Allowed' - 'Payment Terms' |