Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPivotFilterInfo

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
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, bool? isTop = null, bool? isPercent = null, string? filterValue = null) #

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

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 bool? IsTop { get; } #

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

public bool? 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 bool WholeDay { get; } #

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