Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public PivotOlapKpiMeasures GetOlapKpiMeasures(
    string kpiName
)

#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