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.
- 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 enter Small.
- 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 enter 7000.0. Click the field in the Value column and enter Medium.
-
In row #3, click the field in the Lower Bound
column and enter 7000.0. Then, click the field in
the Value column and enter
Large.
- Click OK.