Back to Devexpress

PivotGridControl.GetOLAPKPIMeasures(String) Method

windowsforms-devexpress-dot-xtrapivotgrid-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.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.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.XtraPivotGrid Namespace