Apply ranges
Follow these steps to apply ranges to your transformation.
Add a Number range step to your transformation by expanding the Transform folder and selecting Number range.
Create a hop between the Value mapper and Number range steps.
Create a hop between the Number range and Write to Database (which was built using Table output) steps. When prompted, select the Main output of the step option.
Add Number range step to the canvas Double-click the Number range step to open its properties dialog box.
Click in the Input field and select SALES from the list.
In the Output field enter
DEALSIZE
.In the Ranges (min <=x< max) table, define the Lower Bound and Upper Bound field ranges along with the bucket Value.
In row #1, click the field in the Upper Bound column and enter
3000.0
. Then, click the field in the Value column and enterSmall
.In row #2, click the field in the Lower Bound column and enter
3000.0
. Then, click the field in the Upper Bound column and enter7000.0
. Click the field in the Value column and enterMedium
.In row #3, click the field in the Lower Bound column and enter
7000.0
. Then, click the field in the Value column and enterLarge
.Set ranges in Number Range step
Click OK.
Last updated
Was this helpful?