Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Customize chart

Posted on by Microsoft Employee

Is it possible to apply a filter during the vertical and horizontal selection of field value in customer chart properties?

*This post is locked for comments

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Customize chart

    Data filtering is normally done in the View you created or FETCH XML if you are doing advanced chart editing. In your example, if you only want to include particular values from option set, in you view Filter Criteria you could add them as shown below

    7268.ScreenClip-_5B00_76_5D00_.png

    An alternative approach to this is doing advanced editing of the chart to manually edit the FETCH XML query.   If you want to do that you could use the following plugin on XrmToolBox

    2477.ScreenClip-_5B00_74_5D00_.png

    You can download the XRMToolBox from : https://xrmtoolbox.com

    To answer your question on filtering horizontally or vertically, once the data is filtered using View, you can then do Grouping and some aggregate functions on the axis.

    Please see the screenshots below aggregate functions on series

    8726.ScreenClip-_5B00_75_5D00_.png

    And for Horizontal axis grouping

    7268.ScreenClip-_5B00_76_5D00_.png

    Hope this helps

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customize chart

    Yes. filtering the data at the time while  creating the chart. Example: I have created an option set type field and from that option set I have chosen particular one or two value which  are only shown in the chart .

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Customize chart

    Hi Shikta Chatterjee,

    You can achieve this by modifying the <fetchcollection> tags in the Chart XML. The <fetchcollection> tags hold the FetchXML query to retrieve data for the chart. This is also where the grouping and ordering is designated. Data filters can be applied here in addition to filters defined in the view.

    You can find more information on this here.

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Customize chart

    Hi

    Could you please share more details on what you are trying to achive?

    Do you mean filtering the data or columns?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans