Skip to Content
author's profile photo Former Member
Former Member

advanced graph ..

hi all,

I need to draw a graph by groups

one group is all types

another group is type A

another group is type B

the graph should be like

All types(sum of type A and B) type A type B

I tried to use "specified group" but this approach wouldn't draw graphs for type A and type B, since All types condition include evertyihg.

Your any help is appreciated

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2010 at 09:23 AM

    I don't think you can do this in Crystal. I recently needed to do something similar and ended up using a Command where you union your group data with Total data. eg

    select GroupField, suM(amountField) as Total

    Group by GroupField

    Union all

    selct 'All_Group', suM(amountField)

    Ian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.