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

How to find group wise total in crystal report?

Dear All,

I have to find the total of a Quantity value based on the Item code.How to achieve that in Crystal report.

Scenario:

Itemcode orderno Qty

A 1 100

A 2 20

A 3 30

B 1 10

B 2 20

Now i have to find the group total based on the Item code: Like A:150 and B:30 which should come like mentioned below

A Total 150

A 1 100

A 2 20

A 3 30

B Total 30

B 1 10

B 2 20

Can anybody pls tell me how to solve this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 20, 2014 at 06:43 AM

    Hi Nikunj,

    Here's what you need to do:

    1) Insert a group on the ItemCode field

    2) Right-click the qty field > Insert Summary > Choose Sum as the summary operation > under 'summary location' choose 'Group #1'

    3) Move the summary from the Group Footer to the Group Header.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Raghavendra Hullur

      Hello Guys,

      What we wanted in our output is to have a single line item for each item that we had in the picklist.

      to get this output. we changed the details of headers and footers in the report. like the sum of each item group was placed in header. due to which the repeated item were shown only once and we were to get our required output.

      Thank you all for your help.

      thanks and regards,

      Nikunj.

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.