Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
@IoTGirl Could you please check my question? Thanks a lot!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Based on doc: https://learn.microsoft.com/en-us/javascript/api/office-scripts/excelscript/excelscript.labelfiltercondition?view=office-scripts
When condition set to ex "equals", "greaterThan", then "comparator" is required. However, in ExcelScript.PivotLabelFilter doc: "https://learn.microsoft.com/zh-cn/javascript/api/office-scripts/excelscript/excelscript.pivotlabelfilter?view=office-scripts
There is no such property as "comparator". I tried this in excel script, no surprise return me an error "Type '{ condition: ExcelScript.LabelFilterCondition; comparator: number; }' is not assignable to type 'PivotLabelFilter'".
How do I use "greaterThan" condition properly? Thanks.
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Another question:
I'm trying to set a pivot filter with condition: >=3, is PivotLabelFilter the correct method?