PivotGridControl.GetOLAPKPIMeasures(String) Method

Returns the Measures dimension's members used to calculate the value, goal, status and weight of the specified Key Performance Indicator (KPI).

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public PivotOLAPKPIMeasures GetOLAPKPIMeasures(
    string kpiName
)
Public Function GetOLAPKPIMeasures(
    kpiName As String
) As PivotOLAPKPIMeasures

Parameters

Name Type Description
kpiName String

A string value that specifies the KPI's name.

Returns

Type Description
PivotOLAPKPIMeasures

A PivotOLAPKPIMeasures object that contains measures used to determine the KPI's value.

Remarks


pivotGrid1.Fields["DataFieldCaption"].FieldName =
    pivotGrid1.GetOLAPKPIMeasures("KPIName").GoalMeasure;

To learn more, see Key Performance Indicators (KPIs).

See Also