Adding a Query to the supplyChainV Transform
The query recreates the CompositeView resource, and is an easy way to explore how to add queries to your transform.
To create the supplyChainV transformation
|
1.
|
Click and drag Query from the Transformation Editor palette. |
|
2.
|
Double-click the query operation that was added to the Model tab |
|
3.
|
From the Studio resource tree, expand Shared > Examples. |
|
4.
|
Click and drag the following views onto the Query Editor: |
|
5.
|
Locate the ProductID column in each of the views. |
|
6.
|
Select and connect each of the ProductID columns. For example, your Query Editor should look like the following: |
|
7.
|
Close the Query Editor. Your changes are saved. |
|
8.
|
Your transform Model tab should now look like the following: |
|
10.
|
Right-click the query operation that was added to the Model tab and select Edit. |
|
12.
|
Manipulate the fields so that they look like the following: |
Select the Output check for ProductID and Discount.
Clear the Output check for all other fields.
Close the Query Editor.
|
13.
|
Validate that your query displays the ProductID and Discount outputs. For example, your transform model should now look like the following: |