Pivot: AddDataValue

Mar 16, 2015 at 9:56 AM
When defining a Pivotfield I can define
WorksheetAccessor.AddDataValue(doc, pivot, "Prize");

But where can I define what kind of field this should be:
Now it is always the 'Sum'.
How can I get Average, Count, Max, Min...?