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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create chart based on formula fields

Status
Not open for further replies.

mmorala

MIS
Aug 18, 2003
14
US
I'm new to Crystal reports.
Is it possible to create a chart based on formula fields? I have a database of account names which I then used formulas to count each account name starting with A's, B's, and so on. I want to show the number of accounts that start with A, B, etc. on a bar graph. How can I do this?

Thanks,
Michael
 
You can do this with a single formula.
Create the formula:
left({your.field},1)

Then create your Chart using your field as both the "On change of" and "Show values"

Mike
 
Instead of trying to use a summary, you could just create a formula {@account}:

left({table.accountname},1)

Then insert a bar chart, and choose {@account} for the "on change of" field, and choose it again as the summary field, with count as the summary operation.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top