Hi All,
Doing aggregate on Fetch XML to get the average of decimal field having NULL value throwing error while doing RetrieveMultiple.
I believe it was working before as also mentioned here https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/org-service/sample-use-aggregation-fetchxml
Is anyone else is facing the same in or after CRM version 1710 (9.1.0.4233) online ?
Query
String FetchMembers = @"<fetch mapping='logical' no-lock='true' aggregate='true' output-format='xml-platform' version='1.0'>
<entity name='customentity'>
<attribute name='score' alias='avg_score' aggregate='avg'/>
<filter type='and'>
<condition attribute='lookup' operator='eq' value='{0}' />
<condition attribute='statecode' operator='eq' value='0' />
</filter>
</entity> </fetch>";
*This post is locked for comments