CHAPTER 9 CREATING CALCULATIONS IN A PIVOT TABLE
Make PDF417 In NoneUsing Barcode drawer for Font Control to generate, create PDF417 image in Font applications.
www.OnBarcode.com EAN / UCC - 13 Printer In NoneUsing Barcode printer for Font Control to generate, create GS1 - 13 image in Font applications.
www.OnBarcode.com For this report, you want to compare each month s total to the total for the previous month and see the change as a percent difference. 1. In the pivot table, right-click one of the value cells. 2. In the context menu, click Summarize Data By, and then click More Options. 3. In the Value Field Settings dialog box, click the Show Values As tab. 4. From the drop-down list for Show Values As, select % Difference From. 5. In this report, you want to compare the totals between dates, so choose OrderDate as the Base field. 6. In this report, you want to compare each month s total to the previous month s total, so select (previous) as the base item (see Figure 9-8).
Create Code 3/9 In NoneUsing Barcode encoder for Font Control to generate, create ANSI/AIM Code 39 image in Font applications.
www.OnBarcode.com Paint PDF-417 2d Barcode In NoneUsing Barcode printer for Font Control to generate, create PDF417 image in Font applications.
www.OnBarcode.com Figure 9-8. OrderDate with (previous) as base item 7. It will be easier to compare the values with no decimal places, so click Number Format, and set Decimal places to zero, and then click OK to close the Format Cells dialog box. 8. Click OK to close the Value Field Settings dialog box. The values in the pivot table change to show the difference for each month, from the previous month (see Figure 9-9). The revised pivot table shows the percentage change in sales each month, compared to the previous month. The row for the first date is empty, because there s no previous date to which this can be compared. From the revised pivot table, the sales manager can quickly see how the sales totals changed during 2007. For example: June sales in the East were 32 percent lower than May sales. August sales in the North were 40 percent higher than July sales. Total December sales were 41 percent higher than November sales.
Generate Barcode In NoneUsing Barcode drawer for Font Control to generate, create Barcode image in Font applications.
www.OnBarcode.com Creating Barcode In NoneUsing Barcode generation for Font Control to generate, create Barcode image in Font applications.
www.OnBarcode.com CHAPTER 9 CREATING CALCULATIONS IN A PIVOT TABLE
Generate Code 128 Code Set B In NoneUsing Barcode printer for Font Control to generate, create Code 128 Code Set B image in Font applications.
www.OnBarcode.com UPC-E Supplement 2 Creator In NoneUsing Barcode creation for Font Control to generate, create UPC-E image in Font applications.
www.OnBarcode.com Figure 9-9. Months compared to previous month totals
Printing PDF417 In NoneUsing Barcode generator for Software Control to generate, create PDF 417 image in Software applications.
www.OnBarcode.com Generate PDF-417 2d Barcode In NoneUsing Barcode creation for Font Control to generate, create PDF 417 image in Font applications.
www.OnBarcode.com Using Running Total In
Draw Code-39 In JavaUsing Barcode creation for BIRT Control to generate, create Code 3/9 image in BIRT applications.
www.OnBarcode.com Universal Product Code Version A Maker In C#Using Barcode creation for .NET Control to generate, create UPC A image in VS .NET applications.
www.OnBarcode.com You ve sent your report on how the sales totals change from one month to the next, and now the sales manager wants a report that shows how each region s sales totals accumulate over the year. Each month should show the year to date total for each region. In the pivot table, OrderDate is in the Row Labels area, filtered for 2007 dates; Region is in the Column Labels area; and Sum of TotalPrice is in the Values area. You ll keep the current pivot table layout and change the custom calculation so it creates a running total. 1. In the pivot table, right-click one of the value cells. 2. In the context menu, click Summarize Data By, and then click More Options. 3. In the Value Field Settings dialog box, click the Show Values As tab. 4. From the drop-down list for Show Values As, select Running Total In. 5. In this report, you want to create a running total based on the Order dates, so choose OrderDate as the base field. For a Running Total In custom calculation, no base item is required. 6. Click Number Format, and format the values as Number, with a thousands separator, and no decimal places. 7. Click OK to close the Format Cells dialog box, and then click OK to close the Value Field Settings dialog box.
Recognizing PDF-417 2d Barcode In .NETUsing Barcode scanner for VS .NET Control to read, scan read, scan image in .NET applications.
www.OnBarcode.com QR Code ISO/IEC18004 Printer In Visual Basic .NETUsing Barcode drawer for .NET Control to generate, create Denso QR Bar Code image in .NET applications.
www.OnBarcode.com CHAPTER 9 CREATING CALCULATIONS IN A PIVOT TABLE
Creating GTIN - 128 In JavaUsing Barcode generation for Java Control to generate, create UCC-128 image in Java applications.
www.OnBarcode.com Decode Code 128B In NoneUsing Barcode scanner for Software Control to read, scan read, scan image in Software applications.
www.OnBarcode.com The values in the pivot table change to show the running total for each month (see Figure 9-10).
Read GTIN - 13 In NoneUsing Barcode reader for Software Control to read, scan read, scan image in Software applications.
www.OnBarcode.com Encode Barcode In Objective-CUsing Barcode creator for iPhone Control to generate, create Barcode image in iPhone applications.
www.OnBarcode.com Figure 9-10. Running totals for each region The revised pivot table shows the year-to-date total for each region for each month. In this report, the sales manager can quickly see how each region was going at any point in the year.
Recognize Universal Product Code Version A In NoneUsing Barcode recognizer for Software Control to read, scan read, scan image in Software applications.
www.OnBarcode.com Painting UPCA In Visual Studio .NETUsing Barcode printer for Reporting Service Control to generate, create UCC - 12 image in Reporting Service applications.
www.OnBarcode.com The running total in custom calculations is best suited for using a date field as the base field, Tip
although you could use another type of field. For example, if recording expenses for different projects, you could show a running total of expenses over different phases of the project.