Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ExcelPivotFilterInfo

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
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

Accepted by parameters 1

Constructors

public ExcelPivotFilterInfo(String fieldName, ExcelPivotFilterType? type, String? value1, String? value2, String? dataFieldName, String? name, String? description, Boolean? isTop = null, Boolean? isPercent = null, String? filterValue = null) #

Creates pivot filter readback information.

Parameters

fieldName System.String requiredposition: 0
type OfficeIMO.Excel.ExcelPivotFilterType? requiredposition: 1
value1 System.String? requiredposition: 2
value2 System.String? requiredposition: 3
dataFieldName System.String? requiredposition: 4
name System.String? requiredposition: 5
description System.String? requiredposition: 6
isTop System.Boolean? = null optionalposition: 7
isPercent System.Boolean? = null optionalposition: 8
filterValue System.String? = null optionalposition: 9

Properties

public String FieldName { get; } #

Gets the source field name being filtered.

public ExcelPivotFilterType? Type { get; } #

Gets the Open XML pivot filter type.

public String? Value1 { get; } #

Gets the first filter value.

public String? Value2 { get; } #

Gets the second filter value for between-style filters.

public String? DataFieldName { get; } #

Gets the data field used by value filters.

public String? Name { get; } #

Gets the filter display name.

public String? Description { get; } #

Gets the filter description.

public Boolean? IsTop { get; } #

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

public Boolean? IsPercent { get; } #

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

public String? FilterValue { get; } #

Gets the optional calculated top/bottom filter value threshold.

public Boolean WholeDay { get; } #

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