Make after the bound cache has been populated to group cache records by the configured row and column fields and pass the resulting cells to a TlxPivotResultWriter callback
DataFieldAxisIsRow = False expands multiple data fields across columnsDataFieldAxisIsRow = True expands multiple data fields across rowsCount includes every non-empty cache value while CountNums includes numeric and date values onlyProduct returns zero when an intersection contains no numeric or date valuesShowDataAs modes once aggregation has completed#DIV/0!Sum, Count, Average, Max, Min, Product, CountNums, StdDev, StdDevP, Var, and VarP
Normal, Difference, Percent, PercentDiff, RunTotal, PercentOfRow, PercentOfCol, PercentOfTotal and Index are all supported
xlpesdaPercentOfParent, xlpesdaPercentOfParentRow, xlpesdaPercentOfParentColumn, xlpesdaPercentOfRunningTotal, xlpesdaRankAscending and xlpesdaRankDescending
BaseField together with an explicit BaseItem, xlPivotBaseItemPrevious or xlPivotBaseItemNext
Pivot.AddRowField('Region');
Pivot.AddColumnField('Quarter');
RevenueField := Pivot.AddDataFieldByName('Revenue', xlpaSum);
RevenueField.DisplayName := 'Revenue';
UnitsField := Pivot.AddDataFieldByName('Units', xlpaAverage);
UnitsField.DisplayName := 'Average units';
Pivot.DataFieldAxisIsRow := False;
CellsWritten := Pivot.Make(ResultWriter.WriteCell);
GrandTotalCaption keeps the represented grand-total label through assignment, supported import, native layout and preview; an empty value falls back to the Grand Total wording
For the qualified visible, unconstrained, ordinary SUM empty total, GetDataValue and GETPIVOTDATA give back numeric zero; unknown measures, constrained unknown items and hidden totals keep their existing refusal behaviour
See retained Timeline conjunctions for native ownership and empty-layout boundaries
MemberType is data add virtual data fields once source aggregation has run. Names are case-insensitive, bracketed and quoted names are supported, and acyclic dependencies are resolved in deterministic passes