PivotFilter Class
Represents a filter for a single pivot field.
- Inheritance:
- System.ObjectPivotFilter
Properties
Field
Gets the pivot field that this pivot filter applies to.
Property Value
The pivot field that this pivot filter applies to.
Filter
Gets the filter settings applied to this pivot field or null if no filter settings are applied to this pivot field.
Property Value
The filter settings applied to this pivot field or null if no filter settings are applied to this pivot field.
MeasureField
Gets the pivot field containing summary values being filtered.
Property Value
The pivot field containing summary values being filtered.
Methods
ClearFilter()
Clears the filter from this PivotFilter.
SetCustomFilter()
Sets a CustomFilter to this field.
CustomFilter filters by a one or two conditions (operators and values).
Use members of a returned CustomFilter to specify filter settings.
Returns
Remarks
If this PivotFilter already specifies a filter (Filter is not equal to null), it will be overridden.
SetDynamicFilter()
Sets a DynamicFilter to this field.
DynamicFilter filters by a dynamic criteria that can change, either with the data itself (e.g., "above average") or with the current system date (e.g., show values for "today").
Use members of a returned DynamicFilter to specify filter settings.
Returns
Remarks
If this PivotFilter already specifies a filter (Filter is not equal to null), it will be overridden.
SetTop10Filter()
Sets a Top10Filter to this field.
Top10Filter filters by a top N (percent or number of items).
Use members of a returned Top10Filter to specify filter settings.
Returns
Remarks
If this PivotFilter already specifies a filter (Filter is not equal to null), it will be overridden.
ToString()
Returns a System.String that represents this PivotFilter instance.
Returns
- System.String
A System.String that represents this PivotFilter instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).