# ExcelPivotFilterInfo

Describes a pivot filter found in an existing pivot table.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelPivotFilterInfo.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L21)

**Modifiers**

sealed

Describes a pivot filter found in an existing pivot table.

## Inheritance

- object
- ExcelPivotFilterInfo

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [ExcelPivotTableInfo.Filters](/api/excel/officeimo-excel-excelpivottableinfo/#property-filters)

### Accepted by parameters 1

- Constructor [ExcelPivotTableInfo.ExcelPivotTableInfo](/api/excel/officeimo-excel-excelpivottableinfo/#constructor-ctor-string-uint32-string-string-string-string-int32-string-officeimo-excel-excelpivotlayout-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-string-string-string-string-string-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-collections-generic-ireadonlylist-system-string-collections-generic-ireadonlylist-system-string-collections-generic-ireadonlylist-system-string-collections-generic-ireadonlylist-officeimo-excel-excelpivotdatafieldinfo-collections-generic-ireadonlylist-officeimo-excel-excelpivotfieldinfo-collections-generic-ireadonlylist-officeimo-excel-excelpivotfilterinfo-collections-generic-ireadonlylist-officeimo-excel-excelpivotcalculatedfieldinfo-collections-generic-ireadonlylist-officeimo-excel-excelpivotgroupinginfo-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean-nullable-system-boolean) parameter `filters`

Filter members 

Show inherited

## Constructors

`public ExcelPivotFilterInfo(string fieldName, ExcelPivotFilterType? type, string? value1, string? value2, string? dataFieldName, string? name, string? description, bool? isTop = null, bool? isPercent = null, string? filterValue = null)` [#](#constructor-ctor-string-nullable-officeimo-excel-excelpivotfiltertype-string-string-string-string-string-nullable-system-boolean-nullable-system-boolean-string)

[ExcelPivotFilterInfo.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L21)

Creates pivot filter readback information.

Parameters

**fieldName string required**

**type OfficeIMO.Excel.ExcelPivotFilterType? required**

**value1 string? required**

**value2 string? required**

**dataFieldName string? required**

**name string? required**

**description string? required**

**isTop bool? = null optional**

**isPercent bool? = null optional**

**filterValue string? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FieldName { get; }` [#](#property-fieldname)

[ExcelPivotFilterInfo.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L42)

Gets the source field name being filtered.

`public ExcelPivotFilterType? Type { get; }` [#](#property-type)

[ExcelPivotFilterInfo.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L45)

Gets the Open XML pivot filter type.

`public string? Value1 { get; }` [#](#property-value1)

[ExcelPivotFilterInfo.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L48)

Gets the first filter value.

`public string? Value2 { get; }` [#](#property-value2)

[ExcelPivotFilterInfo.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L51)

Gets the second filter value for between-style filters.

`public string? DataFieldName { get; }` [#](#property-datafieldname)

[ExcelPivotFilterInfo.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L54)

Gets the data field used by value filters.

`public string? Name { get; }` [#](#property-name)

[ExcelPivotFilterInfo.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L57)

Gets the filter display name.

`public string? Description { get; }` [#](#property-description)

[ExcelPivotFilterInfo.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L60)

Gets the filter description.

`public bool? IsTop { get; }` [#](#property-istop)

[ExcelPivotFilterInfo.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L63)

Gets whether a top/bottom filter keeps top values. False means bottom values.

`public bool? IsPercent { get; }` [#](#property-ispercent)

[ExcelPivotFilterInfo.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L66)

Gets whether a top/bottom filter uses a percentage threshold.

`public string? FilterValue { get; }` [#](#property-filtervalue)

[ExcelPivotFilterInfo.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L69)

Gets the optional calculated top/bottom filter value threshold.

`public bool WholeDay { get; }` [#](#property-wholeday)

[ExcelPivotFilterInfo.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelPivotFilterInfo.cs#L72)

Gets whether a fixed-date filter matches the entire calendar day.

<!-- PowerForge markdown artifact sha256:26AD59C7D8D86775A08D86C10335794276B8ADB6483DAC250BD14C27ED2BC06B -->
