Intro
This article describes the available Filter tiles in Magic ETL:
Filter Rows Tile



- Choose the
Product Containercolumn to filter on. - Choose a
containscomparison. - Choose to compare against a specific value.
- Enter the value
Large Box.

- Drag the Filter Rows tile from the Filters section in the left panel to the canvas and connect it to the rest of your DataFlow.
- (Optional) Rename the tile.
-
Select either Add Filter Rule or Add Formula Rule.
-
If you choose Add Filter Rule, do the following:
- Select a column to filter on.
- Select the operation to use. Operation items appear in the list, depending on the type of data in the column to filter on.
-
Select whether to compare against values in a specific column or a specific value, then do one of the following:
- (Conditional) If comparing against a column, select the column to use.
- (Conditional) If comparing against a specific value, enter the value to use.
- (Conditional) If you want to add another rule, select either Add Filter Rule or Add Formula Rule.
-
If you choose Add Formula Rule, do the following:
- Enter the formula you want to use.
- Select
Validate to check the formula.
-
Select Open the Formula Editor.

-
In the expanded formula editor, enter the formula you want to use in the Calculation field.
Use the AI SQL Assistant: The AI SQL Assistant is available in the expanded formula editor. Use the prompt field at the bottom of the Calculation field to enter your query in natural language. The SQL appears above in the Calculation field.

- Use the Validate option to check the formula.
- Save and close to return to the canvas.
-
If you choose Add Filter Rule, do the following:
-
To add another rule, choose either Add Filter Rule or Add Formula Rule.
Note: For more information on creating a successful filter using the Formula Rule, see Writing a Filter Formula in Magic ETL.
- Select whether to include rows that meet all or any of the rules you define.
Split Filter Tile (Limited Release)
If you have a Domo integration with Snowflake or Databricks, you can access the Split Filter tile in Magic ETL. This tile allows you to have multiple output streams from a filter in your DataFlow. It is useful when you want multiple streams, one to represent each filter condition, and/or a stream to represent everything that is dropping out of the DataFlow because of the filter.Configure Split Filter Tile
- Drag a Split Filter tile to the canvas from the Filter section of the left panel. This tile has a bigger footprint on the canvas than a standard tile, and it grows as you add more output streams.
-
Connect the tile to your DataFlow.

- Configure the formula filters. Each formula represents a different stream that will be output from the tile.
Note: In this tile, you can only configure formula filters and not filter rules.
- Choose whether or not to output all unfiltered rows as an “else.”
-
(Optional) Name any of the filter outputs, including the “else” output.
The outputs you choose display on the canvas as multiple nodes.

- Build your downstream DataFlow from any of the outputs.
Remove Duplicates Tile

- Bring your DataSet into Magic ETL as an input.
- Drag a Remove Duplicates tile to the canvas from the left panel under Filter.
- Connect your data to the tile.
-
Select the input DataSet tile to open the tile editor below the canvas. In step 1 of the Configuration tab, choose the columns to use to check for duplicates. Choosing one or more columns that correctly identify a unique row keeps you from removing vital data. For example, if there is a column of
Transaction IDsthat are unique for each sale in the data, using this column ensures that you only remove true duplicates. A row is only removed if all of the columns selected in the Remove Duplicates tile are duplicates.Note: By default, all columns are selected. You can remove columns one at a time or use the Remove All Columns option. To re-add a column, you can choose Add Column to add individual columns or use the Add All Columns option.
- (Optional) By default, key columns are case-sensitive. Using the checkboxes, you can individually make columns case-insensitive.
-
(Optional) Select Run Preview to preview your completed data transformation.
