Hi there,
Was wondering if anyone had any advice on how to approach the follow in a cube rule.
I am needing to apply an additional charge to accounts based on a flag (stored in measure as 1 / 0). The measure has a parent hierarchy named 'Extra Charge' that will have additional elements added. Each child element has a $ value stored against it for account "-".
I need the cube rule to apply the $ value to each account when the flag is enabled (1 written to measure).
So far, I've approached this with the syntax:
[Measure:'Extra Charge] * [Measure:'Extra Charge, Account:'-']
This applies all the extra charge amounts to the account if the flag = 1 for any of the charges. Ideally, this would only apply the charge for the charges that are = 1.
Thanks,
Leanne