Thank you in advance.
Crystal 9.
I am trying to put together a calculation that will apply different amounts to a sum based on the range.
Put another way, the first 20 items should be multiplied against x; the next 20 items should be multiplied by y; and anything beyond that should be multiplied by z.
So, for example; 42 items sold would be 20(x)+20+2(z); or
say 17 items would be 17(x); or 46 items would 20(x)+20
Right now the "items sold" is calculated based on a Sum field; and can change from month to month, person to person, etc.
I thought about using a variable scope, but am having no luck. Any insight or suggestions is appreciated! Thank you.
Crystal 9.
I am trying to put together a calculation that will apply different amounts to a sum based on the range.
Put another way, the first 20 items should be multiplied against x; the next 20 items should be multiplied by y; and anything beyond that should be multiplied by z.
So, for example; 42 items sold would be 20(x)+20+2(z); or
say 17 items would be 17(x); or 46 items would 20(x)+20
Right now the "items sold" is calculated based on a Sum field; and can change from month to month, person to person, etc.
I thought about using a variable scope, but am having no luck. Any insight or suggestions is appreciated! Thank you.