- 2 minutes to read
By its nature, ASPxPivotGrid displays cell values of different detail levels. For instance, consider summaries, which are the most detailed values, and Grand Totals containing the most generalized data. To calculate values of each type, different amounts of underlying data are processed (or aggregated according to the multi-dimensional analysis terminology). Summaries are calculated for individual field values, while Grand Totals are evaluated throughout the entire datasource. In other words, summaries and Grand Totals belong to different aggregation levels - the lowest and the highest respectively.
An aggregation level is identified by two fields: a column and a row field. Cells that reside on the intersections of columns and rows identified by values of these fields belong to the same aggregation level.
The following image and table illustrate the level breakdown of pivot grid cells.
|Red||(Product Name, Shipped Quarter)|
|Blue||(Product Name, Shipped Year)|
|Green||(Category Name, Shipped Quarter)|
|Gray||(Category Name, Shipped Year)|
Note that Grand Totals make up another five levels. Four of them are identified by Grand Totals in combination with each column and row field - (Grand Total, Shipped Quarter), (Grand Total, Shipped Year), (Category Name, Grand Total) and (Product Name, Grand Total) - and the last is a degenerate level of (Grand Total, Grand Total) represented by only a single cell.