Skip to main content
Tag

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

PivotGridField.OlapUseNonEmpty Property

Gets or sets whether the NonEmpty function should be used in MDX queries for the current measure. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public bool OlapUseNonEmpty { get; set; }

#Property Value

Type Description
Boolean

true to use the NonEmpty function in MDX queries; otherwise, false.

#Remarks

PivotGridControl prevents an OLAP server from processing empty tuples (tuples for which there is no data in a particular measure) by default. This allows the pivot grid to deliver better performance.

To exclude empty tuples from the complete set, PivotGridControl uses the NonEmpty MDX function.

In some instances, the NonEmpty function causes valuable data to be filtered out. This may happen when NonEmpty is used with a calculated measure.

If you find any values missing from the pivot grid while using calculated measures, try setting the OlapUseNonEmpty property to false for these measures. Note that this may slow the performance.

Note

The OlapUseNonEmpty property is in effect only for fields that define measures.

See Also