Quantcast
Viewing all articles
Browse latest Browse all 79901

CRM Chart Sort order on linked entity - options set field

Hi,

I'm using CRM 2016 on premise. trying to set the sort order for a chart.

The chart is based on a view that use the case entity as primary entity and the account as linked entity

The field that I'm trying set the chart order by originate from the linked entity

I have exported the chart xml and added the line in red below  then imported the xml back however I do not see any impact

Not sure if I'm missing anything:

<fetchcollection>
        <fetch mapping="logical" aggregate="true">
          <entity name="incident">
            <link-entity name="account" from="accountid" to="customerid" link-type="outer">
              <attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="new_accountgroup" />
   <order alias="_CRMAutoGen_groupby_column_Num_0" name="new_accountgroup" descending="false"/>
            </link-entity>
            <attribute alias="_CRMAutoGen_aggregate_column_Num_0" name="incidentid" aggregate="count" />
    
          </entity>
        </fetch>
      </fetchcollection>


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>