Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelPivotCalculatedField

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
273d35d5ba8a with working tree changes
Modifiers
sealed

Describes a formula-backed pivot cache field to author.

Inheritance

  • object
  • ExcelPivotCalculatedField

Usage

Explore 1 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

Constructors

public ExcelPivotCalculatedField(string name, string formula, string? caption = null, uint? numberFormatId = null, string? numberFormat = null) #

Creates a calculated pivot field.

Parameters

name string required
formula string required
caption string? = null optional
numberFormatId uint? = null optional
numberFormat string? = null optional

Properties

public string Name { get; } #

Gets the calculated field name.

public string Formula { get; } #

Gets the calculated field formula.

public string? Caption { get; } #

Gets the optional display caption.

public uint? NumberFormatId { get; } #

Gets the optional built-in/custom number format id.

public string? NumberFormat { get; } #

Gets the optional number format code to add to the workbook styles.