Back to Devexpress

PivotGridControl.GetOlapKpiMeasures(String) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-getolapkpimeasures-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotOlapKpiMeasures GetOlapKpiMeasures(
    string kpiName
)
vb
Public Function GetOlapKpiMeasures(
    kpiName As String
) As PivotOlapKpiMeasures

Parameters

NameTypeDescription
kpiNameString

A string value that specifies the KPI’s name.

|

Returns

TypeDescription
PivotOlapKpiMeasures

A PivotOlapKpiMeasures object that contains measures used to determine the KPI’s value.

|

Remarks

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

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

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace