Crystal Reports graph percentage


I want to add one of the formula fields called @MoSellDiscJA into the graph.  It's not one of the available fields for the graph.  Not sure why.  I've attached the .rpt file and highlighted the field blue.


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The formula uses Running totals for the calculation.  Running totals are calculated in the final pass through the report known as the Printing Records pass.  This is after charts/graphs are built.

If you can change the formulas to be summaries they could be used.

Genius123Author Commented:
The problem is that it's a formula of a bunch fields to calculate a percentage.  Is there a way to do this in a running total?
If you want to graph it, it can't be a running total.

I created 3 formulas to do what the running totals do

TO replace MoSellJA
If {qryQuoteReportForRon.ProjectMngr} = "Joel" then
    {qryQuoteReportForRon.Total Revenue (PMTooL - includes CO's and no tax)}

Open in new window

To replace MoFabQuoteAmountNoDiscJA
If {qryQuoteReportForRon.ProjectMngr} = "Joel" then

Open in new window

To calculate the %
    (1 - Sum ({@zzzmosellja-sum}, {@WeekDate}, "monthly")/ Sum ({@zzzmofabdiscja-div}, {@WeekDate}, "monthly")) * 100

Open in new window

That formula is available for the graph
I revised the report.  The formulas I added are named starting with zzz


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Genius123Author Commented:
Brilliant!  That worked, and I understand how you did it.  Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.