You can create a filter to control the data included in your data flow. A filter creates WHERE criteria in the SQL of your flow. You can filter your data with a constant value or a variable.
Note: When a filter is saved, it is parsed and any superfluous parentheses are removed.
The Filter Calculator opens.
From the data flow workspace:
The Filter Calculator opens.
The column is added to the Conditions field.
From the data flow workspace:
The Filter Calculator opens.
The column is added to the Conditions field.
From the data flow workspace:
The Filter Calculator opens.
The column is added to the Conditions field.
For more information about variables, see Using Variables in a Flow.
A filter that uses a sub-select can be typed in to the filter calculator. For example:
T1.PLANT IN (SELECT T2.PLANT FROM DMSALE T2 )
(T1.ORDER_NUM ,T1.PLANT ) IN (SELECT T2.ORDER_NUM , T2.PLANT FROM DMSALE T2 )
The Filter Calculator is available from the data flow workspace by right-clicking the SQL object and selecting Filter.
The Filter Calculator contains the following fields/options. For a full description of the operators available, see Join Calculator.
Displays the expression.
Tests the SQL statement and displays the result.
Note: The test button will be grayed out if you have not selected any columns.
Displays available columns and variables in a hierarchical tree or in a grid.
Displays a list of SQL functions that are available for your transformations.
Allows you to specify parameters for the function through a dialog box when creating or editing a transformation.
Insert numbers and operators.
Adds parentheses.
Inserts two single quotation marks. Enter alphanumeric test values between these.
Converts selected text to uppercase.
Converts selected text to lowercase.
Opens the Date Editor window which lets you use the current date, or specify a date from the calendar.
Opens the Date Editor window which lets you use the current date and time, or specify a date and time from the calendar.
iWay Software |