Moving Maximum

The MovingMax (Moving Maximum) function operates over a moving window of values. For each Window, the MovingMax returns the maximum value found in the Window. This function is similar to the Simple Moving Average, No “Weighted” or “Exponential” can be calculated for this function.

The MovingMax function takes the following arguments:

MovingMax (column, window, break_col)

where:

The following results would occur if you used the MovingMax function with a Window of 3 (MovingMax(Sales,3).

Table 180. MovingMax Function Example

Month

Original Sales Values

3-Month MovingMax

Jan

10

 

Feb

15

 

Mar

17

17

Apr

20

20

May

22

22

Jun

20

22

Jul

25

25

Aug

27

27

Sep

30

30

Oct

35

35

Nov

37

37

Dec

40

40