Returns the Measures dimension's members used to calculate the value, goal, status and weight of the specified Key Performance Indicator (KPI).
Namespace:DevExpress.Xpf.PivotGrid
Assembly:DevExpress.Xpf.PivotGrid.v19.2.dll

Syntax
C# |
public PivotOlapKpiMeasures GetOlapKpiMeasures(
string kpiName
)
|
VB |
Public Function GetOlapKpiMeasures(
ByVal kpiName As String
) As PivotOlapKpiMeasures
|
Parameters
-
kpiName
-
Type: String
A string value that specifies the KPI's name.
Return value
Type:
PivotOlapKpiMeasures
A PivotOlapKpiMeasures object that contains measures used to determine the KPI's value.

Remarks
C# |
pivotGrid1.Fields["DataFieldCaption"].FieldName =
pivotGrid1.GetOlapKpiMeasures("KPIName").GoalMeasure;
|
To learn more, see Key Performance Indicators (KPIs).

See Also