Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Follow the instructions below to configure a calculated field step:

  1. Ensure that you have at least one input step containing the data that you want to transform. Once you are ready to include the Calculated Field step in your flow, follow the below instructions: 
  2. Expand the Transformation Steps button on the left side of the Transformation Flow builder, to view a list of transformation steps.
  3. Drag the Calculated Field step from the list of transformation steps.



  4. Connect this step to the previous step in the flow. On doing so, it will become configurable.
  5. Click on Add Item.



  6. Use the popup to create a calculated field.



  7. Update the name of the calculated field.
  8. Define your calculation using the buttons at the bottom of the window, for example:
    • Search for the Sum Invoiced Amount field in the -- Select Field -- drop down list and click on it to add it to the formula box.
    • Press the minus ( – ) button.
    • Search for the Sum Cost of Camp field and add it to the formula.
    • You will now have Invoiced Amount - Cost.
    • Test your calculation by using the Validate button. (An error will appear if it is invalid.)



  9. If the calculation is valid, click Save. The data preview panel will display a new column field for the result.



  10. The step's configuration panel will show the newly created calculated field.



  11. You may also edit or delete a calculated field through here.

...

  1. Click on the Create button in the top-right corner.

  2. Then select Transformation Flow. 

    Note

    If you do not see this option, you may not have security access to transformation flows. Learn how to get access here.





  3. You will be taken to the transformation flow builder.

  4. Hover your cursor over the input steps button on the left side. A panel with a list of all data extraction steps will appear.



  5. Drag one of these steps onto the canvas. For this procedure, we will use the single table step as an example. (Click here to learn about all the different input steps.)

  6. On doing so, a popup will appear to load data from a data source.



  7. Click on the data source that you require.

  8. Then choose the database table, and click on Submit. 



  9. The selected table's fields will appear in the transformation flow panel to be configured. 

  10. Select only the fields that you want data to be extracted from.



  11. You can make further changes, such as renaming the step, adding a description, etc.

  12. Once you’re done with the step configuration, click on the Apply button. 

    Warning

    You must click on the Apply button to save the configuration details. Otherwise, if you click somewhere else first, you will lose the configuration details.



  13. On doing so, the data preview panel will display the data extracted from the configured database table.  



  14. You can also apply transformations to fields directly from the data preview panel. Click here to learn more about this.

  15. You can add further steps to your transformation flow. 

  16. When you want to include the calculated field step in your flow, continue with the procedure below.

  17. Expand the transformation steps panel by hovering on its icon in the step builder, and then dragging the Calculated Field step onto the canvas. 



  18. Next, create a connection between the input step (or the previous step, if you've added any other ones) and the calculated field step, by dragging a connection point to the calculated field step.




  19. Click on the calculated field step icon to configure it. The transformation flow panel wil be updated.

  20. Click on Add Item.



  21. A popup window will appear to create a new calculated field.



  22. Update the name of the calculated field.
  23. Define your calculation using the buttons at the bottom of the window, for example:
    • Search for the Invoiced Amount field in the -- Select Field -- drop down list and click on it to add it to the formula box.
    • Press the divide ( / ) button.
    • Search for the Cost field and add it to the formula.
    • You will now have Invoiced Amount / Cost.
    • Test your calculation by using the Validate button. (An error will appear if it is invalid.)
  24. If the calculation is valid, click Save. 



  25. The data preview panel will display a new column field for this formula's result.



  26. The step's configuration panel will show the newly created calculated field.



  27. You may also edit or delete a calculated field through here, by clicking on its menu.




  28. You can continue to transform your data further by adding more transformation steps.

  29. Once you are ready to save your data into a writeable database, follow the steps below.

  30. Extend the output steps panel by hovering on its icon, and drag the SQL database output step onto the canvas.



  31. Connect the calculated field step (or the previous step in your flow) to the output step by creating a connection.

  32. And then configure the output step through the panel on the right-side. Click here to learn more about configuring this step.
    Note: By default, the output step will be highlighted as red to signify that it contains errors. This is because it has not been configured yet.



  33. You can now execute the draft flow by clicking on the run button in the top header menu. (This does a quick execution of the data rows in the data preview panel.)


  34. Or save the flow for a full execution. To do that, click on the Publish button.




  35. Then provide details in the popup that appears, such as providing a proper name, and selecting rights to access the flow.




  36. Finally, click on the Save button.

...