Home > Transforms Nodes > JSON Query > Transform > Edit Transform Node > Add Transform > Bin Assignment
Select the following options:
Binning Type: The default type depends on the data type of the attribute that you are binning:
If the data type of the attribute is Number, then the default binning type is Bin Equal Width.
If the data type of the attribute is Character, then the default binning type is Bin Top N.
You can change the binning type for numbers.
Bin Count: The default count is 10. You can change this to any integer greater than 2.
Bin Labels: The default label for numbers is Range. You can change the bin label to Number.
Transform NULLs: If the Transform NULLs check-box is selected for a binning transformation that produces NUMBER data type, then null values are placed into the last bin. For example, if the AGE column has null values and Equal Width Binning was requested with Bin Labels value equal to Number, and the number of bins is 10, then null values will be in bin number 11.
For this option, the following conditions apply:
When deselected, null values are excluded from the generated transformation SQL.
|
Note: Applicable only for those binning transformations that produce VARCHAR2 data type after transformation. |
This field is not editable for those binning transformations which produce numeric data type after transformation.
For legacy workflows, this field is selected by default, and the corresponding field contains the value Null bin.
Click OK when you have finished. You return to the Custom display where you modify the generated bins.