Back to Devexpress

PivotGridOptionsOLAP.FilterByUniqueName Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsolap.md

latest3.4 KB
Original Source

PivotGridOptionsOLAP.FilterByUniqueName Property

Gets or sets whether PivotGridControl should take into account OLAP member values or unique names when filtering data in the OLAP mode.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
public bool FilterByUniqueName { get; set; }
vb
<DefaultValue(False)>
Public Property FilterByUniqueName As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to take into account unique names when filtering data in the OLAP mode; false to take into account values instead.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to FilterByUniqueName
WinForms ControlsPivotGridControl

.OptionsOLAP .FilterByUniqueName

| | ASP.NET MVC Extensions | PivotGridSettings |

.OptionsOLAP .FilterByUniqueName

| | ASP.NET Web Forms Controls | ASPxPivotGrid |

.OptionsOLAP .FilterByUniqueName

|

Remarks

By default, PivotGridControl takes into account OLAP member values when filtering data in the OLAP mode. Specific cube dimensions may contain several OLAP members with the same value. As a result, the pivot grid cannot distinguish between such members and treats them as one, which may lead to incorrect filtering. In this instance, set the FilterByUniqueName property to true to enable the PivotGridControl to use unique names instead of values.

The FilterByUniqueName property is in effect for those fields whose PivotGridFieldOptions.OLAPFilterByUniqueName property is set to DefaultBoolean.Default.

See Also

OLAPFilterByUniqueName

PivotGridOptionsOLAP Class

PivotGridOptionsOLAP Members

DevExpress.XtraPivotGrid Namespace