Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. Aggregator transformation
  7. Cleanse transformation
  8. Data Masking transformation
  9. Data Services transformation
  10. Deduplicate transformation
  11. Expression transformation
  12. Filter transformation
  13. Hierarchy Builder transformation
  14. Hierarchy Parser transformation
  15. Hierarchy Processor transformation
  16. Input transformation
  17. Java transformation
  18. Java transformation API reference
  19. Joiner transformation
  20. Labeler transformation
  21. Lookup transformation
  22. Machine Learning transformation
  23. Mapplet transformation
  24. Normalizer transformation
  25. Output transformation
  26. Parse transformation
  27. Python transformation
  28. Rank transformation
  29. Router transformation
  30. Rule Specification transformation
  31. Sequence Generator transformation
  32. Sorter transformation
  33. SQL transformation
  34. Structure Parser transformation
  35. Transaction Control transformation
  36. Union transformation
  37. Velocity transformation
  38. Verifier transformation
  39. Web Services transformation

Transformations

Transformations

Step 3. Create an output field to aggregate the total price

Step 3. Create an output field to aggregate the total price

Create an output field in the Hierarchy Processor transformation that calculates the total price of all orders for each company.
Perform the following steps:
  1. Add a new output field with the following properties:
    Property
    Value
    Child Of
    Output
    Name
    TotalOrdersPrice
    Type
    double
    Aggregate Options
    Enabled
    Output Field
    Orders
    The following image shows the aggregate options for the TotalOrdersPrice output field:
    The "New output field" dialog box shows the properties for the TotalOrdersPrice field. The Aggregate Options are highlighted where the "use this field to aggregate values in an output field array" checkbox is selected and the Output Field is set to Orders.
  2. Configure the following field expression for Output.TotalOrdersPrice to aggregate the total price of all orders for a company:
    SUM(:fld.{Output.Orders.Orders.OrderPrice})

0 COMMENTS

We’d like to hear from you!