web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Total Sum Expression in SSRS

(0) ShareShare
ReportReport
Posted on by

I have Column have expression like that :

=Sum(Fields!Debit.Value,"Details1")+Sum(Fields!Credit.Value,"Details1")+Last(Fields!previouscount.Value,"Details1")

i need to grand total in last cell when i try to write that :

=Sum(Sum(Fields!Debit.Value,"Details1")+Sum(Fields!Credit.Value,"Details1")+Last(Fields!previouscount.Value,"Details1"),"Details1")

i have erorr , Any help !

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Refer below link to calculate total:

    (Calculating Totals and Other Aggregates (Reporting Services))

    technet.microsoft.com/.../bb630415(v=sql.100).aspx

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Also you can try to use RunningValue function as below

    =RunningValue(Fields!Debit.Value + Fields!Credit.Value)

           , Sum

           , "Details1")

       + Last(Fields!previouscount.Value,"Details1")

    (SSRS EXPRESSIONS TO CALCULATE RUNNING TOTALS.)

    community.dynamics.com/.../ssrs-report-running-total-using-expression

  • Suggested answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    try to use the same logic in this vedio

    www.youtube.com/watch

  • Community Member Profile Picture
    on at

    i have this error when i try to use that :

    the value expression for the textrun has a scope parameter that is not valid an aggregate function . the scope parameter must be set to string constant that is equal to either the name of containing group

    the  EXPRESSIONS:

    =RunningValue(Fields!Debit.Value + Fields!Credit.Value

          , Sum

          , "Details1")

      + Last(Fields!previouscount.Value,"Details1")

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans