Hi,
I'm trying to switch the order of my 100% stacked column chart based on a custom calculated field I created (resolutiontimecompliance).
This calculated field has two options ("yes" = 1 and "no" = 0).
Simply put, I'd like to switch the data of green and red in this chart:

I've tried to do this using the following code, but it does not work.
<fetchcollection>
<fetch aggregate="true" mapping="logical">
<entity name="incident">
<attribute name="createdon" alias="_CRMAutoGen_groupby_column_Num_0" groupby="true" dategrouping="month" />
<attribute name="resolutiontimecompliance" aggregate="count" alias="_CRMAutoGen_aggregate_column_Num_0" />
<attribute name="resolutiontimecompliance" alias="complianceyesno" groupby="true" />
<order alias="complianceyesno" descending="true" />
<filter>
<condition value="365" operator="last-x-days" attribute="createdon" />
</filter>
</entity>
</fetch>
</fetchcollection>
Any help with this would be much appreciated!
*This post is locked for comments
I have the same question (0)