Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Order of bars in bar chart can't be changed

Posted on by 415

Hi,
I'm totally puzzled why a simple task as this one, doesn't do as expected.

I have this bar chart showing sum(invoiceamount) on x and invoicedate/month on y. For some obscure reason the default order of y is by amount of x:

2019_2D00_07_2D00_19_5F00_10_2D00_57_2D00_25.jpg

But I'd like the order to be by year/month.
So, as I've done before, I exported the xml and made this alteration by adding the red part:


<Visualizations>
<visualization>
<savedqueryvisualizationid>{188E55C3-4753-E211-A108-00155D01688C}</savedqueryvisualizationid>
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="invoice">
<attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="psa_approvedon" dategrouping="month" />
<attribute alias="_CRMAutoGen_aggregate_column_Num_0" name="totallineitemamount_base" aggregate="sum" />
<order alias="_CRMAutoGen_groupby_column_Num_0" descending="false" />
</entity>
</fetch>
</fetchcollection>

Repack, import, publish, but no change whatsoever. I did do the checks (a thousand times by now) if I'm looking at the right chart, but really, that's OK.

Any idea what I'm overseeing here?

Thanks in advance,
Regards,
Jeroen

*This post is locked for comments

  • Jeroen J Profile Picture
    Jeroen J 415 on at
    RE: Order of bars in bar chart can't be changed

    Wow, I guess if the forum has no clue, I'm history ;)

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