Creating a Data View Linked to a Multiple Data Views
Last updated
Was this helpful?
Last updated
Was this helpful?
Sometimes, we need to join a data view to another data view that is not the coverage set, or to multiple data views. To set up the 'accounts' data block data view, we need to link to both the coverage set data view and the customers data view.
Start by creating a new data view for the accounts data block and creating a link to the coverage set data view on the 'account_type' field. In this case, we need to make sure that we are picking an account type that matches the coverage set criteria, and is matched to a specific customer ID from the customer data view. Click the plus (+) sign in the lower pane to open a new critiera window. Select 'customer_id' from the field list on the left, then start to type in the name of the customer_view on the right and select the data view when the name pops up. Click on the 'customer_id' field in the list to add it to the condition, and click 'Save' to save the critieria.
For the account selection, we have created a total of three conditions. The conditions are
account_view.account_type Equal new_build_cov_view.account_type
account_view.customer_id Equal customer_view.customer_id
account_view.balance Greater new_build_cov_view.pmt_amount
and this will link an account that has a matching customer type and enrollments to an account that is from a selected customer, with the right account type and a balance that is greater than the payment amount in the test case.
Click the 'Save' button to save the data view.