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 CRM (Archived)

SSRS report - Sum up multiple rows by grouping

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am looking for some hints to sum of multiple rows and group by owner in SSRS report.

This is the original report I have

image003.png

I would like to

1) Group the owner name together

2) sum up the number of cases acknowledged group by user as a new column

2015_2D00_05_2D00_25_5F00_203011.png

Any tricks to do it?

Please advice :) Thank you!!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at

    Hi Doll,

    You can refer this blog:

    www.codeproject.com/.../Using-SSRS-Matrix-Control-to-Generate-Columns-Dyna

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • Verified answer
    Rajkumar Rajaraman Profile Picture
    on at

    Hi Doll,

    This is what the expression look like behind the Number of cases had been acknowledged by the user in total column:

    =Number of cases had been acknowledged by the user in total(Fields!Number of cases had been acknowledged by the user,SUM,”Owner”)

    Hope this helps.

    Regards,

    R.Rajkumar

    "Please mark my answer as verified if you found it helpful"

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    Doll Doll,

    As long as you have the grouping id from the owner, you can achieve this by using SUM, using the scope of the group name

    Example here:

    =Sum(Fields!NumberofcaseValue,"OwnerGroupName")

    Thanks.

  • Suggested answer
    Abed Haniyah Profile Picture
    4,287 on at

    Hi Doll,

    Please take a look to : www.youtube.com/watch

    Regards,

    Abed.

  • Community Member Profile Picture
    on at

    Thanks for so many suggestion!!

    This is how the query result look like:

    20150526_5F00_1155.JPG

    I try with

    =sum(Fields!ACKNOWLEDGED.Value,"Fields!FullName.Value")

    or

    =sum(Fields!ACKNOWLEDGED.Value,"FullName")

    Both return error:

    20150526_5F00_1155.JPG

    what should be the exact expression for the total column?

    Thanks!

  • Community Member Profile Picture
    on at

    I now create a group named owner,

    and expression is

    =sum(Fields!ACKNOWLEDGED.Value,"owner")



    20150526_5F00_1220.JPG

    But I can only add the total column next to the owner group,

    is it possible to move the total column to last row?

    20150526_5F00_1220.JPG

    When I try to insert a column at the last column, there is no Outside Group to choose.

    20150526_5F00_1221.JPG

    Please advice! Thanks!

  • Community Member Profile Picture
    on at

    I add a parent group to "Owner" and child group to "Team",
    and order the column as the below screen capture

    Since tablix body must contain at least one column, I just made the last column invisible

    20150526_5F00_1448.gif


    Coding for the total column:

    =Sum(Fields!ACKNOWLEDGED.Value,"Owner")

    The report is now look like this:

    20150526_5F00_1448.gif

    The acknowledge number is sum up to the total column, but split into two rows with the same number, I would like to merge the cell....could it be possible?

  • Suggested answer
    Aileen Gusni Profile Picture
    44,524 on at

    Doll,

    Sorry for late response

    stackoverflow.com/.../vertical-merge-in-ssrs-tablix

    To merge rows, you need to use the parent group.

    Like you did for the CRM Admin 3 (Owner)

    Btw, you did the grouping total right? So the first step done.

    If the solution just to make 3 appearing once is okey to you, just hide one of the cell based on the Row Number or Running Number

    Thanks,

  • Community Member Profile Picture
    on at

    hi doll,

    i m on the same situation as shown above.

    if u solved it please guide me .

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans