Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7724463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:41:43+00:00 2026-06-01T04:41:43+00:00

using crystal report 7 Single report (no sub report added, group by id) ID

  • 0

using crystal report 7

Single report (no sub report added, group by id)

ID Value total

001 100 2000
001 200 3000
-------------
total 300 5000 (a)

002 300 1000
002 200 2000
-------------
total 500 3000 (b)

003 300 1000
003 200 2000
-------------
total 500 3000 (c)

......

I have n number of subtotal like a, b, c ….., each subtotal i want to make subtotal2/ subtotal1 like b/a, c/a …..

Expected Ouput

ID Value total subtotal

001 100 2000
002 200 3000
-------------------
total 300 5000 0

002 300 1000
002 200 2000
-------------------
total 500 3000 0.6

003 300 1000
003 200 1000
-------------------
total 500 2000 0.4

......

How to do it in crystal report.

Can any one give me a idea or formula help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:41:45+00:00Added an answer on June 1, 2026 at 4:41 am

    Forgive me, as I have not worked with a version of Crystal that old, but hopefully at least one of these solutions will be suitable:

    • Create a subreport in the report header which will pull the total of group a. Create a formula along the lines: shared numbervar total_a := sum({table.total});
    • In the main report group footer add a formula along the lines: shared numbervar total_a; sum({table.total}) / total_a;

    OR similar to the above solution:

    • Create a formula in the report header: global numbervar total_a := 0;
    • Create a formula in the group footer: global numbervar total_a; if total_a = 0 then total_a := sum({table.total}); sum({table.total}) / total_a;
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

using crystal report 7 ID Value total 001 100 2000 002 300 1000 003
Using Crystal Report 7 Single report (not sub report added, group by id) ID
Using Crystal Report 7 ID Value 001 100 002 200 003 400 004 500
Using Crystal Report 7 ID Name 001 Raja 002 Vijay 003 Suresh 004 Mahes
Using Crystal Report 8.5 How to skip blank pages? I want to skip blank
Using Crystal Report 8.5 Generating a report from table1 My Crystal Report Output ID
I am using Crystal Report 2008 with C# , have a WinForm and want
I am using a Crystal Report on my website to dynamically build a PDF
Using VB 6 and Crystal Report 8.5 I am using CRViewer Control in my
I'm using Crystal Report with VB.NET in Visual Studio 2005. I have report that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.