18 Mar, 2024
Posted on 18 Mar, 2024 by Shekhar Jain, Posted in Dynamics 365 Web Api Dynamics 365
In this blog, we will learn how to use aggregate in FetchXml.
1. Count
It aggregates data based on specified conditions and returns a numerical value representing the count of records meeting those conditions.
2. CountColumn
This attribute helps group data based on the values in a chosen column.
3. Sum
The "sum" function is used to calculate the total sum of numerical values within a specified column or attribute.
4. Avg
The "avg" function calculates the average value of numerical data within a specified column or attribute.
5. Min
The "min" function retrieves the minimum value of numerical data within a specified column or attribute.
6. Max
The "max" function retrieves the maximum value of numerical data within a specified column or attribute.
Below are points to note that differ from a regular query.
Comment