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

  • SEARCH
  • Home
  • 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 7421451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:24:41+00:00 2026-05-29T08:24:41+00:00

I have a report with a column TaxBase printed by a method TaxBase() .

  • 0

I have a report with a column TaxBase printed by a method TaxBase().

At the end of my report section I need to display the Sum of TaxBase column.
I don’t know how!

Maybe the property SumAll can help? But, how is it used?

  • 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-05-29T08:24:41+00:00Added an answer on May 29, 2026 at 8:24 am

    Setting the SumAll property will help calculate report totals provided you use footer sections.

    Your footer section has to have a sum control (of class ReportSumControl) and reference the summed field in the DataFieldName property.

    This can done implicitly using an auto design. Take the report TaxDeviation as an example. It has the fields TaxAmount and TaxBaseAmount with the SumAll property set. The footer sections are generated at runtime for the grand total footer section and for each sort field with an AutoSum property set to Yes.

    You can see this clearly if you generate the design by choosing “Generate design” on the ReportDesign1 node.

    You can by code reference the generated sums by using element.sumControl or element.sum. This can for example be used to calculate contribution ratios (using both methods):

    display ContributionRatio contributionRatioSum()
    {
        SalesLine locSalesLine = this.last(tableNum(SalesLine));
        SalesAmount salesAmount = Currency::MSTAmount(element.sum(tableNum(SalesLine), fieldNum(SalesLine,LineAmount)), locSalesLine.CurrencyCode);
        return salesAmount ? 100.0 * dg(salesAmount, element.sumControl(identifierStr(costAmount))) : 0;
    }
    

    This method calculates the contribution ratio for a sales line sum of LineAmount and CostAmount.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know nothing about SSRS I have an SSRS report with a column containing
I have a column in report that should display month and year together i.e
I have problem with my application. I have table report, there are 2 column
I have crystal report and I need to convert it to text file. Currently
I have a multi column report in crystal report.Is there any way to start
I have a report in SQL Server reporting services, grouped by a column ProdType.
I have simple report (not interactive). When I try to remove column from its
I have a report page that can display two different reports. So I have
I have a report where I need the same data, but for four separate
I have an SSRS report where I need to collapse data into a summary

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.