# Calculated Fields in a Crystal Reports Graph

Hi,

For this example I have a table called "Results" with three columns Call, Status and Result

I will have input some dummy rows of data

CALL     Status     Date
123       1             01/08/10
124       1             01/08/10
125       2             01/08/10
126       2             02/08/10
127       1             02/08/10
128       2             02/08/10
129       2             02/08/10

In a graph in crystal reports (bar chart), I want to show the total number of calls per day and also the number of calls with the different status's.

therefore the first bar on the 01/08/10 should show the total calls (3) and then 2 further bars for the two status's showing (2 for status 1) and (1 for status 2)

on the 02/08/10 the first bar should show 4 calls and then 2 further bars again for the two status's showing 1 call and 3 calls respectively

My question is how do I get the values of the different status's on each day, so that I can show them in the graph.

Thanks
LVL 2
Asked:
###### Who is Participating?
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.

Commented:
You have to create groups for each dimension you want to chart.  For your example, you would need to first group on the date selecting day as the time unit.  Next, create a group for status.  Ensure that the group for status is inside the group for date(day).  You should at that point be able to use the chart wizard to create the desired results.

Good luck!

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.

###### 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.