Back to Devexpress

PivotGridControl.OlapDefaultMemberFields Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-f0a5562e.md

latest4.0 KB
Original Source

PivotGridControl.OlapDefaultMemberFields Property

Gets or sets for which filter fields the pivot grid processes only data related to their default members. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotDefaultMemberFields OlapDefaultMemberFields { get; set; }
vb
Public Property OlapDefaultMemberFields As PivotDefaultMemberFields

Property Value

TypeDescription
PivotDefaultMemberFields

A PivotDefaultMemberFields enumeration member that specifies for which filter fields the pivot grid processes only data related to their default members.

|

Available values:

NameDescription
NonVisibleFilterFields

The Pivot Grid processes only data related to fields’ default members for filter fields that are not visible.

| | AllFilterFields |

The Pivot Grid processes only data related to fields’ default members for all filter fields, except for those fields whose filter condition is not set to ‘Show All’.

|

Remarks

In OLAP mode, data is filtered against filter fields in a specific way. If a filter field is not visible, only data related to its default member (a member of the corresponding hierarchy that is set as the default on the server) is processed. Otherwise, data is filtered according to the current filter condition.

For visible filter fields whose filter condition is set to ‘Show All’, you can change this behavior via the OlapDefaultMemberFields property. To process only data related to these fields’ default members, set the OlapDefaultMemberFields property to PivotDefaultMemberFields.AllFilterFields.

To learn more, see OLAP Filtering Specifics.

See Also

OLAP Filtering Specifics

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace