Home > Transforms Nodes > JSON Query > JSON Query Node Editor > Aggregate > Add Aggregations
In the Add Aggregation dialog box, you can define functions for JSON attributes. The dialog box displays JSON structures in a hierarchical view. You can select multiple attributes and then apply an aggregation function to it.
|
Note: Object and Array type attributes cannot be selected. |
You can perform the following tasks:
Define aggregation functions:
Select the JSON attributes. You can select multiple attributes by pressing the Ctrl key and clicking the attributes for which you want to define functions.
Click
to select and apply a function for the selected attributes. The applicable functions are listed. Select the function that you want to apply.
Alternately, click the corresponding row in the Function column. The applicable functions are listed in a drop-down list. Select the function that you want to apply. Using this option you can define function for only one attribute at a time.
Click OK.
Clear Aggregation Definition: Select the attribute and click
. The defined function along with the output and Sub Group By entries are deleted.
Edit Sub Group By Elements: Select the attribute and click
. The Edit Sub Group By dialog box opens.
Search: Click
to find attribute based on partial attribute name.