ExcelScript.PivotFilterType enum
PivotField のフィルターの種類を表す単純な列挙型。
注釈
例
/**
* This script gets the "Type" field from the "Farms Sales" PivotTable
* and clears the value filter from it.
*/
function main(workbook: ExcelScript.Workbook) {
// Get the PivotTable named "Farm Sales".
const pivot = workbook.getPivotTable("Farm Sales");
// Get the "Type" field.
const typeField = pivot.getHierarchy("Type").getPivotField("Type");
// Clear the value filter (if there is one) from the field.
typeField.clearFilter(ExcelScript.PivotFilterType.value);
}
フィールド
date | ラベルの代わりに日付を含む PivotItems をフィルター処理します。 注: PivotField には、ラベル フィルターと日付フィルターを同時に適用することはできません。 |
label | ラベルに基づいて PivotItems をフィルター処理します。 注: PivotField には、ラベル フィルターと日付フィルターを同時に適用することはできません。 |
manual | 手動で選択した特定の PivotItems をピボットテーブルからフィルター処理します。 |
unknown |
|
value | に関する PivotItem の値に基づいてフィルター処理します |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Office Scripts
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示