Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Please Help! Aggregate Values Together For Chart

(0) ShareShare
ReportReport
Posted on by 135

Hi Guys, 

I know i have posted this previously, but i am still searching for the answer please. 

I am trying to create a Chart in a report for Microsoft Dynamics CRM 2015 Online. I am using SQL Server Data Tools for Visual Studio 2012.

I have an entity that holds the records of every Presentation carried out by an organisation. On each "Presentation" record, there are two lookups to the contacts entity holding details of the two individuals who carried out the presentation;One lookup for "Presenter A" and the other for "Presenter B".

So, for example, over the course of a year...

  • Joe Bloggs has been "Presenter A" for 12 "Presentations" and recorded as "Presenter B" for 3 "Presentations"
  •  David Smith has been "Presenter A" for 5 "Presentations" and recorded as "Presenter B" for 18 "Presentations"

What i am trying to do is create a chart that shows this information. I am trying to get it something similar to this crude drawing...

7888.Capture.PNG

Any help is GREATLY appreciated!

Thanks

Joel

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Please Help! Aggregate Values Together For Chart

    Hi Joel,

    This is not possible directly in a CRM chart as both the series are not sharing the same category. So like Aileen suggested, using a secondary axis will be an option.

    Another option is to keep track of the number of presentation done by a contact as Presentor A or Presentor B in the contact entity itself. May be you can use 2 roll up field in Contact entity which will count the number of presentation done by contact as Presentor A and Presentor B as 2 different fields. Then you can create the chart on the contact entity. Hope this trick will work for you.

  • Joel Abbott - xRM Consultant Profile Picture
    135 on at
    RE: Please Help! Aggregate Values Together For Chart

    Hi Varun,

    Thanks in advance for your help..

    The presentation entity has two lookup fields on its form. One called presenter A and the other called presenter B. Both are lookup fields to the contact entity.

    A contact can be chosen as either Presenter A or presenter B by choosing their contact record in either lookup field.

  • Varun Singh Profile Picture
    941 on at
    RE: Please Help! Aggregate Values Together For Chart

    Hi Joe,

    Need to understand one thing here

    Joe Bloggs has been "Presenter A" for 12 "Presentations" and recorded as "Presenter B" for 3 "Presentations"

    Here Presenter A is Lookup in form right ?

    What is recorded as "Presenter B" for 3 "Presentation" what type of field it's and how you have save this field.

  • Aileen Gusni Profile Picture
    44,524 on at
    RE: Please Help! Aggregate Values Together For Chart

    Hi Joel

    What you need is You need to create multiple axis in ssrs.

    Your query ahould limit the presenter type to A and B only if you want to limit to two stack bar chart.

    You can search how to create the multiple series or axis related to ssrs

    Multiple Series on a Chart (Report Builder and SSRS)

    msdn.microsoft.com

    When multiple series are present on a chart, you must determine the best way to compare the series. You can use a stacked chart to show relative proportions of each series. If you are comparing only two series that share a common category (x) axis, use the secondary axis. This is useful when showing...

    Adding a Secondary Axis to a SSRS Chart

    Interface Technical Training – Blogs

    When a series in a SQL chart is not measured on the same scale used for the other series in the chart, a secondary axis can make the chart easier to read.

    Hope this helps.

    Thanks.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans