First, you create a table
calculation and a calculated field for the difference in sales.
Step 1
On the Text shelf,
right-click Sales and select Add Table Calculation.
The default settings are:
- Calculation Type:
Difference From
- Calculate the difference
along: Table (Across)
- Display the value as a
difference from: Previous
For this example, you do not
have to change these default values.
Step 2
In the Table Calculation
dialog box, click Customize.
Step 3
In the Calculated Field
dialog box, in the Name text box, type Difference in Sales
(Custom).
The suggested calculation is
correct for your purposes.
Step 4
Click OK.
Step 5
In the Table Calculation
dialog box, click OK.
Now you create the table
calculation and calculated field for the moving average of sales from year
to year.
Step 6
In the Measures pane,
double-click Sales again.
Step 7
On the Measure Values
shelf, right-click Sales and select Add Table Calculation.
Step 8
In the Table Calculation
dialog box, in the Calculation Type list, select Moving
Calculation.
Step 9
In the Summarize values using
list, select Average.
Step 10
Select the check box for Perform
a secondary calculation on the result.
Step 11
Click Customize.
Step 12
In the Calculated Field
dialog box, in the Name text box, type Difference in Moving
Average of Sales (Custom).
The suggested calculation is
correct for your purposes.
Step 13
Click OK.
Step 14
In the Table Calculation
dialog box, click OK.
|
No comments:
Post a Comment