...
Expand | |||||
---|---|---|---|---|---|
| |||||
Defines the exit separator between children and parent rows. This modifier has a string parameter. The default exit separator is:
Expand | | title |
|
Can be used with: join.
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||
---|---|---|---|---|
| ||||
Tells the aggregate function to include duplicate items. By defaults, functions that count values ignore duplicate items. Expand | Example:
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Only process direct children of the current row. Expand | | title |
|
Can be used with: array, sum, count, avg, join, min, max, median, percentile, quartile1, quartile3, values.
...
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
#distinct with ARRAY Makes array only produce an array of distinct values. A duplicate value won't be added more than once if this modifier is on. Expand | | title |
|
#distinct with JOIN
Makes join only concatenate distinct values. A duplicate value won't be added more than once if this modifier is on. When used with arrays, removes undefined values and performs one-step flattening.
Modifiers #beforeChildren and #afterChildren don't work when this option is on.
expandExample:
|
|
Can be used with: join.
Anchor | ||||
---|---|---|---|---|
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Specifies the position of the first row the aggregate function should take as input for a sequence. Position is specified by an integer parameter denoted as n below:
This modifier does not work with any tree types except #ancestors. Expand | | title |
|
Can be used with: array, join, median, percentile, quartile1, quartile3, values.
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Only process leaves (items without children) in the subtree of the current row. Expand | | title |
|
Can be used with: array, sum, count, avg, join, min, max, median, percentile, quartile1, quartile3, values.
...
Expand | ||||
---|---|---|---|---|
| ||||
When used with PARENT, specifies the position of the parent that possesses value. Position is specified by an integer parameter denoted as n below:
When used with SUM with the | title |
|
Can be used with: parent, sum (together with #preceding), count (together with #preceding), avg (together with #preceding).
...
Expand | ||||
---|---|---|---|---|
| ||||
Can be used with SUM to calculate a numeric total of the current item and all items above it in the structure. Can be combined with the following modifiers:
Expand | Example:
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Reverses the order of row processing. Expand | | title |
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Defines the separator for string joining. This modifier has a string parameter. The default is ", ". Expand | | title |
|
Can be used with: join.
Anchor | ||||
---|---|---|---|---|
|
Expand | |||||
---|---|---|---|---|---|
| |||||
Do not process the current row item as part of the aggregation. Cannot be used together with #children, #ancestors or #leaves, since these already exclude the current row. Expand | | title |
|
Can be used with: array, sum, count, avg, join, min, max, median, percentile, quartile1, quartile3, values.
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Process the whole subtree of the current row. This is the default behavior for sum, count, avg, min, max . Expand | | title |
|
Can be used with: array, sum, count, avg, join, min, max, median, percentile, quartile1, quartile3, values.
...
Expand | ||||
---|---|---|---|---|
| ||||
Specifies the position of the last row the aggregate function should take as input for a sequence. Position is specified by an integer parameter denoted as n below:
This modifier does not work with any tree types except #ancestors. Expand | Example:
Can be used with: array, join, median, percentile, quartile1, quartile3, values. |
...
Expand | |||||
---|---|---|---|---|---|
| |||||
Only count row if the subexpression produces a truthy value. Expand | | title |
|
Can be used with: count.