A Lookup table is an object that is added to a Table Population to get information from a source DB table, LU table or Reference table. A lookup returns one record for each input record. The matching SQL query is generated for a Lookup table by Fabric:
The input in a Lookup table is optional if the Lookup has only one record. For example, when a Lookup is created based on the Customer LU table and the Customer is the Root Table of the LU. In this case the Customer LU table will only have one record.
Go to Project Tree > Logical Units > [LU Name].
Click Tables > [Table Name] > [Table Population].
Click the Objects tab in the right panel of the Table Population working area.
Do either:
Connect the Lookup’s Input and Output fields to the table columns.
Right click the Lookup and select Minimize to display only the Lookup’s connected fields.
In the Properties Tab (right panel of the Table Population working area), click the dropdown list and select the action for when a Lookup Value is not found.
Notes
The following information is displayed in the Lookup Properties:
Main |
Non-editable fields:
|
Lookup Not Found |
Dropdown list of Fabric actions when the Lookup value is not found:
|
Misc. |
Non-editable fields, applicable only for source DB table lookups:
|
Open Lookup Object |
Link to open the Table Schema window. |
Inputs Default value |
User-defined default values for each Input field in the Lookup. Used when there is no link connected to the field or when a Null value is received. |
A Lookup table is an object that is added to a Table Population to get information from a source DB table, LU table or Reference table. A lookup returns one record for each input record. The matching SQL query is generated for a Lookup table by Fabric:
The input in a Lookup table is optional if the Lookup has only one record. For example, when a Lookup is created based on the Customer LU table and the Customer is the Root Table of the LU. In this case the Customer LU table will only have one record.
Go to Project Tree > Logical Units > [LU Name].
Click Tables > [Table Name] > [Table Population].
Click the Objects tab in the right panel of the Table Population working area.
Do either:
Connect the Lookup’s Input and Output fields to the table columns.
Right click the Lookup and select Minimize to display only the Lookup’s connected fields.
In the Properties Tab (right panel of the Table Population working area), click the dropdown list and select the action for when a Lookup Value is not found.
Notes
The following information is displayed in the Lookup Properties:
Main |
Non-editable fields:
|
Lookup Not Found |
Dropdown list of Fabric actions when the Lookup value is not found:
|
Misc. |
Non-editable fields, applicable only for source DB table lookups:
|
Open Lookup Object |
Link to open the Table Schema window. |
Inputs Default value |
User-defined default values for each Input field in the Lookup. Used when there is no link connected to the field or when a Null value is received. |