FetchXML Aggregate Function #89
Replies: 2 comments 1 reply
-
Unfortunately, we have the same issue here as Power Automate connector for Dataverse does. We expect fetchxml to return collection of entities but for aggregates it's not the case. Try building fetchxml starting from systemuser table and aggregating incidents using linked-entity element to link the two. That way it would return systemuser records plus aggregate of cases per user. The other option is to use raw web api client and craft OData instead of using fetchxml. |
Beta Was this translation helpful? Give feedback.
-
we do not have any ready to go samples yet but our OData client uses the same constructs as Dataverse Web API and they have plenty of examples. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Please, could someone help me with a query with aggregate function?
The query returns the error below:
If I run the query diretly in the XrmToolBox it works fine and give me the exepected result.
Please, could someone help me to find out what is happening and the solution?
Thank you/Gracias/Danke/Obrigado/Dziękuję
Dante Dantas
Beta Was this translation helpful? Give feedback.
All reactions