Skip to main content

Notifications

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?

  • Sergei Minozhenko Profile Picture
    23,091 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,091 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,091 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,206 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans