Versions Compared

Key

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

For the given sample SWIFT MT940 report, we need to create the datasources. Let's assume there are two datasources in Studio for the STATEMENT MASTER and STATEMENT TRANSACTION tables. We need to aggregate these two datasources using the primary key-foreign key relationship. Here, the two tables are related by the ACC_IDENTIFICATION field.

Perform the following steps to build data source aggregator for combining the two datasources in Sigma Studio:

  1. Click Data Builder.

    Info

    The Data Builder menu option appears only when the CONNECTIONS on the left navigation is selected.



    A page appears where the new data source aggregator can be created easily through drag-and-drop.



  2. Enter a unique ID and Name for the data source aggregator. Here, DB_BUILDER is used as the ID and Name for the data source aggregator.
    Image Removed
    Image Added
  3. Select Parent Data source from Data Source ID drop-down list, which appears on the right-hand side of the page, e.g.
    Image Removed STMT_TRANS_MASTER.

    Image Added
  4. Drag and drop another data from the left-hand side of the page and connect the parent data source with this data.
    Image Removed
    Image Added
  5. Click the data element and select data source ID from the Data Source ID drop-down list. For example, Statement Transaction is STMT_TRANS_DETAIL is chosen as the data source.

    Note

    The Data Source ID selected can either be a database or a web service data source made for the report.


  6. Select how the data source should be attached and resulted in accordance with the parent data source.

    Info
    • Merge combines the data sources, where the duplicate data items are eliminated.
    • Join combines data based on the following selection:
      • If you click Equi Join, only the similar entries on datasources will be displayed based on the provided key column.
      • If you click Left Join, all entries on the left datasource and matching records from the right datasouce will be displayed based on the provided key column.
      • If you click Right Join, all entries on the right datasource and matching records from the left datasouce will be displayed based on the provided key column.
    • Union combines the data into new rows.

    Similarly,

    • Record displays the selected data source same as the parent data source is displayed.
    • Children displays the attached data source as a child for the parent data source.
    • Object displays the attached data source just as an object.


    Image RemovedImage Added

  7. Select Parent Column and Child Column from the drop-down list. For example, ACC_IDENTIFICATION is chosen as the parent and the child column in this data builder.

    Info

    These will be identified as unique key columns between the two data sources.

    Image RemovedImage Added

  8. Click the Save icon to save the data aggregator.

    Warning

    When you try to exit the Data Builder screen, before saving the configured data source aggregator, a warning pop-up message appears, as shown in the following screen shot:

    • Click Cancel, if you do not want to exit the Data Builder screen.
    • Click Ok, if you want to exit the Data Builder screen.


    Image RemovedImage Added
    A confirmation message appears.

  9. Click Ok for the message.

...