The Filter tool queries records by using an expression and splits data into two outputs: True, where the data meets the specified criteria, and False, where the data does not meet the specified criteria.
Use this tool to identify records in your data that meet a specified criteria. You may choose to handle records that come from the True output differently than the False output by connecting additional tools to the workflow on either side.
Select the type of filter to use.
Basic filter: Use the basic filter to quickly build a simple query on a single column of data.
= | Value matches input |
!= | Value does not match input |
> | Value is greater than input |
>= | Value is greater than or equal to input |
< | Value is less than input |
<= | Value is less than or equal to input |
Is null | Value is a missing or unknown value |
Is not null | Value is not a missing or unknown value |
Equals | Value matches input |
Does not equal | Value does not match input |
Comes before (<) | Value sorts to come before input |
Comes after (>) | Value sorts to come after input |
Contains | Value is found in any part of the string (case sensitive) |
Does not contain | Value is not found in any part of the string (case sensitive) |
Is null | Value is a missing or unknown value |
Is not null | Value is not a missing or unknown value |
Is empty | Value is Null or "" |
Is not empty | Value is not Null or "" |
= | Value matches input |
!= | Value does not match input |
> | Value is greater than input |
>= | Value is greater than or equal to input |
< | Value is less than input |
<= | Value is less than or equal to input |
Is empty | Value is Null or "" |
Is not empty | Value is not Null or "" |
Date range | Value is a selected start and end date |
Start date and periods after | Value is the selected first date and a set number of periods that follow |
End date and periods before | Value is the select last date and a set number of periods that precede |
= | Value matches input |
!= | Value does not match input |
> | Value is greater than input |
>= | Value is greater than or equal to input |
< | Value is less than input |
<= | Value is less than or equal to input |
Is empty | Value is Null or "" |
Is not empty | Value is not Null or "" |
Date range | Value is a selected start and end date |
Start date and periods after | Value is the selected first date and a set number of periods that follow |
End date and periods before | Value is the select last date and a set number of periods that precede |
Select Filter only Date data to truncate the Time data and filter using only the Date data.
Is null | Value is a missing or unknown value |
Is not null | Value is not a missing or unknown value |
Is null | Value is a missing or unknown value |
Is not null | Value is not a missing or unknown value |
Is true | Value is true |
Is false | Value is not true |
Is null | Value is a missing or unknown value |
Is not null | Value is not a missing or unknown value |
Custom filter: Use the custom filter to build a more complex expression or to query from multiple fields in the data stream.
Use any of these methods to build an expression:
Once an expression has been built, it can be saved for use at a later time.
With an expression in the expression editor, click Save Expression, type a name, and click Save.
Because this tool includes an expression editor, an additional input anchor displays when the tool is used in an app or macro workflow. Use the Interface tools to connect to a Question anchor. See Interface Tools.
©2018 Alteryx, Inc., all rights reserved. Allocate®, Alteryx®, Guzzler®, and Solocast® are registered trademarks of Alteryx, Inc.