Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

Breaking Down Your Chart by Deal Size


Explains how to apply ranges to charts.

Your source data does not contain an attribute for Deal Size. Use the Data Integration perspective to add this new field.

  1. Click Data Integration in the main toolbar.
  2. Expand the Transform folder and drag a Number Range step onto the graphical workspace between the Value Mapper step and the Write to Database (Table Output) step. Click Yes to split the hop. (You will need to click on the hop.)File:/pdi_number_range_tbl_output.png
  3. Double-click Number range to open its edit properties dialog box.
  4. Choose the SALES field as your Input field.
  5. Type DEALSIZE as the name for the Output field.
  6. In the Ranges table, define number ranges as shown in the example below. Click OK. File:/agile_bi_number_ranges.png
    Note: Because this step adds a new field into the stream, you must update your target database table to add the new column in the next steps.
  7. Double-click on the Write to Database (Table output) step.
  8. Click SQL to generate the DDL necessary to update the target table.
  9. Click Execute to run the SQL. Click OK to close the results dialog box. Click Close to exit the Simple SQL Editor dialog box. Click OK to close the edit step properties dialog.
  10. Save and run your transformation to re-populate your target database. File:/pdi_transformation_final.png