Excel 2019 Bible

(singke) #1

Chapter 37: Adding Formulas to Power Pivot


37



  1. Power Pivot will automatically rename the column to Calculated Column 1.
    Double-click the column label, and rename the column Month.

  2. Starting the next column, click the first blank cell in the empty column labeled
    Add Column on the far right.

  3. In the Formula bar, type =FORMAT([InvoiceDate],"mmm") and then press
    Enter.

  4. Power Pivot will automatically rename the column to Calculated Column 1.
    Double-click the column label and rename the column Month Name.


After going through these steps, you should have three new calculated columns similar to
the ones shown in Figure 37.10.

FIGURE 37.10
Using DAX functions to supplement a table with Year, Month, and Month Name columns

As mentioned, creating calculated columns will automatically make them available through
your PivotTable Fields list (see Figure 37.11).

FIGURE 37.11
DAX calculations are immediately available in any connected PivotTable.
Free download pdf