Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display summary field in a graph? CR6 1

Status
Not open for further replies.

Hottpepr

Technical User
Dec 5, 2000
4
US
I have a formula field that is the result of another formula field.
This field will not display the correct data when I Graph the report.
What am I missing?

 
Sure: here they are, The last one is not displaying correctly
· LOCATION: Left ({WOEQLIST.LOCATION},4)
· SQUAREFOOTAGE:
if {@Location}= "001A" then 184.6 else
if {@Location}= "002A" then 206.6
· LABORPERSQFOOTAGE: Sum ({WOE.REGHRS}, {@Location}) / {@SQUAREFOOTAGE}


 
CR version 6
Type: BAR
Data: Detail Formula
For each Group wo.wotype
Change of @location
value>> @squarefootage

does this help?

 
You are probably getting bars that represent your formula multiplied by the number of records in each group. This is because Crystal in V6 doesn't show you the implied "Sum" operation of the detail chart.

Here is a different approach:

1) Create a detail formula LABORPERSQFOOTDet:
{WOE.REGHRS} / {@SQUAREFOOTAGE}

2) add subtotal of this formula at the appropriate group (Insert Subtotal).
3) add a GROUP chart of this subtotal.

It should come out the same and a group chart will do what you want. Ken Hamady
Crystal Reports Training and a
Quick Reference Guide to VB/Crystal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top