workbook.LimitingFilter
Note:
The content in this help topic applies to SuiteScript 2.x.
Object Description |
A limiting filter. A limiting factor can be used when you create a pivot. You can create a limiting filter using workbook.createLimitingFilter(options). |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2020.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples.
// Add additional code
...
var myLimitingFilter = workbook.createLimitingFilter({
row: true,
sortBys: [myMeasureSort],
limit: 12,
filteredNodesSelector: myDimensionSelector
});
...
// Add additional code