Skip to Content

Summarizing a formula that refers to another summary field.

I have created a summarized formula in crystal reports and want to refer that to summary field. For ex: commission calculated on each invoice margin. I want to show summary for each sales person commission under sales person group. can someone help me please.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 23, 2018 at 01:02 PM

    Unfortunately this is not achievable using regular summary functions, so here is what i would do:

    1. Create a shared variable to increment the summary you want to show

    Shared numbervar I; 
    I := I + {Sales Commission SUM Field}; 

    2. Place it on the same level as the Sales Commission

    3. Create a variable to display the total and place it in your group footer/report footer (assuming you have a Sales Employee group)

    Shared numbervar I;

    4. Create a variable to reset the increment for each group and place it in the group footer under the total

    Shared numbervar I;
    I := 0;

    Good Luck,


    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.