Excel.PivotLabelFilter interface
Configurable template for a label filter to apply to a PivotField. The condition
defines what criteria need to be set in order for the filter to operate.
Remarks
Properties
comparator | The comparator is the static value to which other values are compared. The type of comparison is defined by the condition. Note: A numeric string is treated as a number when being compared against other numeric strings. |
condition | Specifies the condition for the filter, which defines the necessary filtering criteria. |
exclusive | If |
lower |
The lower-bound of the range for the |
substring | The substring used for the |
upper |
The upper-bound of the range for the |
Property Details
comparator
The comparator is the static value to which other values are compared. The type of comparison is defined by the condition. Note: A numeric string is treated as a number when being compared against other numeric strings.
comparator?: string;
Property Value
string
Remarks
condition
Specifies the condition for the filter, which defines the necessary filtering criteria.
condition: Excel.LabelFilterCondition | "Unknown" | "Equals" | "BeginsWith" | "EndsWith" | "Contains" | "GreaterThan" | "GreaterThanOrEqualTo" | "LessThan" | "LessThanOrEqualTo" | "Between";
Property Value
Excel.LabelFilterCondition | "Unknown" | "Equals" | "BeginsWith" | "EndsWith" | "Contains" | "GreaterThan" | "GreaterThanOrEqualTo" | "LessThan" | "LessThanOrEqualTo" | "Between"
Remarks
exclusive
If true
, filter excludes items that meet criteria. The default is false
(filter to include items that meet criteria).
exclusive?: boolean;
Property Value
boolean
Remarks
lowerBound
The lower-bound of the range for the between
filter condition. Note: A numeric string is treated as a number when being compared against other numeric strings.
lowerBound?: string;
Property Value
string
Remarks
substring
The substring used for the beginsWith
, endsWith
, and contains
filter conditions.
substring?: string;
Property Value
string
Remarks
upperBound
The upper-bound of the range for the between
filter condition. Note: A numeric string is treated as a number when being compared against other numeric strings.
upperBound?: string;
Property Value
string
Remarks
Office Add-ins