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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to get running value when the field is of expression in ssrs report?

(0) ShareShare
ReportReport
Posted on by 210

How to get running value when the field is of expression in the SSRS report?

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi Vikash,

    Could you, please, provide more details on what exactly doesn't work? Do you see zeros instead of values in the percentage column or you see some errors? Have you tried first to output only sum expression in the column to check if it's calculated correctly?

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi Vikash,

    Please check this thread and see if that helps you.

  • vikash_ Profile Picture
    210 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Yes

  • Sergei Minozhenko Profile Picture
    23,093 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi vikash_,

    Are you trying to calculate the percentage of value from the totals?

  • vikash_ Profile Picture
    210 on at
    RE: How to get running value when the field is of expression in ssrs report?

    =((Fields!LineAmount.Value)/(Sum(Fields!LineAmount.Value, "MyDatasetName")))*100

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi Vikash_,

    Could you, please, share your expression for RunningValue?

    Another possible option is to calculate this column in the data provider class in x++ and save the value to another physical field.

  • vikash_ Profile Picture
    210 on at
    RE: How to get running value when the field is of expression in ssrs report?
    ABC XYZ
    2
    3
    4

      Hi, here ABC and XYZ are two fields and 2,3,4(under column ABC) is the value which is coming from expression written under the field ABC. Now I want to calculate 0+2=2 which should come under XYZ column 1st row, then 2+3 = 5,5+4 = 9, and so on. 
    It should come as the below table.

    ABC XYZ
    2 2
    3 5
    4 9
  • vikash_ Profile Picture
    210 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi,

    I tried this, but it is not working. Any other way?

  • Blue Wang Profile Picture
    on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi Vikash,

    Try to use RunningValue function.

    docs.microsoft.com/.../report-builder-functions-runningvalue-function

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

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: How to get running value when the field is of expression in ssrs report?

    Hi Vikash,

    What do you mean by running value here? Could you please explain your requirement?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,239

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 903 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 604 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans