I have the following aggregate to calculate the count of people in my data.
radPivotGrid1.AggregateDescriptions.Add(new PropertyAggregateDescription()
{
PropertyName = "personId",
AggregateFunction = AggregateFunctions.Count
});
I want to add a custom aggregate that calculates 5% of the count, always rounding up to the next integer value. For example, if there were 102 people, the customer aggregate would yield 6. (102 * 5% = 5.1 rounded up = 6)
How can I do this?