/// <summary> /// Init PivotTable instance with own agreggation function. /// See also: <seealso cref="AggregationFunction"/> /// </summary> /// <param name="af"></param> public PivotTable(AggregationFunction af) { dataSets = new AggregationSet(); // set custom aggregation function if you dont need simple sum dataSets.Aggregator = af; }
public PivotTable() { dataSets = new AggregationSet(); // by default will be summarized dataSets.Aggregator = AggregateFunction.Sum; }