The data below are a subset of the Resale dataset provided with the software. This (computer simulated) data. gives the selling price, the number of bedrooms, the total square footage (finished and unfinished), and the size of. the lots for 150 residential properties sold during the last four months in two states.
A common scenario where PIVOT can be useful is when you want to generate cross-tabulation reports to summarize data. For example, suppose you want to query the PurchaseOrderHeader table in the AdventureWorks2008R2 sample database to determine the number of purchase orders placed by certain employees.
The Average Function. The Average function in a pivot table works like the AVERAGE function on the worksheet to calculate the average (mean) of the values. It totals all the underlying values in the Values area, and divides by the number of values.hen you use the Average summary function, the results will probably show a strange mixture of decimal places, as shown in the pivot table at the left, in the screen shot below. Format the field to have a consistent number of decimal places (as in the pivot table at the right, above), so the numbers are easy to compare.