Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Custom aggregation with FlatData
posted

When using xamPivotGrid with a FlatData source, is it possible to customize the aggregation function to be used?

For example we need an employee efficiency data to be shown in  xamPivotGrid, with three Measures: 

'Productive Hours' (int value), 'Total Hours' (int value) and '% Efficiency' (decimal %).

where '% Efficiency' = 'Productive Hours' * 100 / 'Total Hours'.

By default the '% Efficiency' measure is also just adding up all the individual percentages, rather than applying the same formula on the aggregates.

Is there a way to change this behavior? I can not find any documentation for the same.