PivotGridControl.GetOlapKpiMeasures(String) Method
In This Article
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 |
---|---|---|
kpi |
String | A string value that specifies the KPI’s name. |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
pivotGrid1.Fields["DataFieldCaption"].FieldName =
pivotGrid1.GetOlapKpiMeasures("KPIName").GoalMeasure;
To learn more, see Key Performance Indicators (KPIs).
See Also