PivotGridOptionsOLAP.DefaultMemberFields Property
Gets or sets for which filter fields the pivot grid processes only data related to their default members.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
[DefaultValue(PivotDefaultMemberFields.NonVisibleFilterFields)]
public PivotDefaultMemberFields DefaultMemberFields { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Pivot |
Non |
A Pivot |
Available values:
Name | Description |
---|---|
Non |
The Pivot Grid processes only data related to fields’ default members for filter fields that are not visible. |
All |
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’. |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Default |
---|---|---|
Win |
Pivot |
|
ASP. |
Pivot |
|
ASP. |
ASPx |
|
#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 DefaultMemberFields property. To process only data related to these fields’ default members, set the DefaultMemberFields property to PivotDefaultMemberFields.AllFilterFields.
To learn more, see OLAP Filtering Specifics.