MHB How Can I Create a Commission Curve in Crystal Reports?

  • Thread starter Thread starter andreasj
  • Start date Start date
  • Tags Tags
    Curve
andreasj
Messages
15
Reaction score
0
I'm trying to create a simple (well, not for me apparently) commission curve based on a few basic parameters. I can do the straight line approach, but I need a little more power. This is for an interactive report I am writing in Crystal Reports.

User currently enters Max Commission Rate and Max Discount Allowed.

Currently using the following formula:
MaxComm-(DiscountTaken/MaxDiscountAllowed*MaxComm=Commission Rate

It's a simple straight line diagonal formula, and it does work fine.

I would like to use a curve instead so I can alter the intensity of the drop in commission. The smaller the discount the less of an impact, and the larger the discount the more of an impact.

Assume my max commission is set to 10% and the max discount is set to 20%.

I was thinking of a 1-10 intensity curve.
1 intensity=straight 1-1 diagonal line. 50% discount=50% commission.
10 intensity=right angle, or no commission with any discount.
3 intensity might yield a 7% commission rate, rather than a 5% rate with the straight line calculation I'm using now.

I thought this was going to simple...
 
Mathematics news on Phys.org
andreasj said:
MaxComm-(DiscountTaken/MaxDiscountAllowed*MaxComm=Commission Rate
You are missing a ")". An obvious place to put that paren is just before the "=".
MaxComm-(DiscountTaken/MaxDiscountAllowed*MaxComm)=Commission Rate

By adding another paren you can apply some operation to the discount portion.
MaxComm-((DiscountTaken/MaxDiscountAllowed)*MaxComm)=Commission Rate

For instance you could use:
MaxComm-((DiscountTaken/MaxDiscountAllowed) 2 * MaxComm)=Commission Rate

Thereby squaring the effectiveness of giving a larger discount.

Cheers,
Tom
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top