GrowthRate: Boolean;
The GrowthRate property determines whether values growth rate is calculated.
By default the property is set to False, and the calculation of indexes growth rate is not performed.
Executing the example requires a form with the button named Button1, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 which is data source for TabSheetBox.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
OLAP: IEaxAnalyzer;
Pivot: IPivot;
Dynamics: IPivotEvaluatorDynamics;
Dynamic: IPivotEvaluatorDynamicsHeader;
Begin
OLAP := UiErAnalyzer1.ErAnalyzer;
Pivot := OLAP.Pivot;
Dynamics := Pivot.Evaluator.Dynamics;
Dynamic := Dynamics.LeftHeader;
Dynamic.GrowthRate := True;
Dynamic.Slot := 0;
End Sub Button1OnClick;
Clicking the button calculates value growth rate for the table by rows.
Source data:
Value growth rate:
See also: