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)

Sorting a chart x axis by option set value instead of label

(0) ShareShare
ReportReport
Posted on by

I have a chart where the x axis is an option set. It currently displays the values in alphabetical order based on the option set value labels. I would like for it sort based on their values instead. I have set them up so that their values are ordered low to high based on the order of a particular business process that we have. Having the chart show up in that order will be intuitive for the users. Showing them alphabetically will be confusing. How can I force the chart to show those values in the x axis based on the option set values? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    You need to export the chart and amend the xml to get the sorting you want.

    Follow process like in

    crmchartguy.wordpress.com/.../order-charts

    Look for section - 

    Order data based on a linked entity

    and the rest of his blogs to show you what you need to amend.

  • Verified answer
    Community Member Profile Picture
    on at

    That article seems to assume that your option set is there purely as a mechanism to force sort order.  In my case the option set is on the entity and storing the actual value. I stumbled on this article that did the trick...

    mahadeomatre.blogspot.com/.../ms-crm-chart-axis-labels-sorting-by.html

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