Data Cleansing Tool
The Data Cleansing tool fixes common data quality issues using a variety of parameters.
Known limitation: dynamic workflows
The Data Cleansing tool is not dynamic. If used in a dynamic settings, such as a macro intended to work with newly generated field named, the tool will not interact with the fields, even if All options are selected. Consider replacing the Data Cleansing tool with a Multi-Field Formula Tool.
Known limitation: large number handling
Numbers with more than 15 digits need to be treated as strings, or they lose their precision. Set the field type to a string using the Select Tool.
Visit the Alteryx Community Tool Mastery series to learn even more about this and other tools.
Configure the tool
Use the following fields to determine how data quality issues are managed.
Select Columns to Cleanse
Select the columns (fields) you want to cleanse. Select from the following options:
- Replace with Blanks (String Columns): A Blank registers as "" rather than [Null]. Selected by default
- Replace with 0 (Numeric Columns): Selected by default.
- Leading and Trailing Whitespace is selected by default.
- Tabs, Line Breaks, and Duplicate Whitespace replaces any occurrence of whitespace with a single space, including line endings, tabs, multiple spaces, and other consecutive whitespace.
- All Whitespace removes any occurence of whitespace.
- Letters removes all letters. This includes letters outside of the Latin alphabet.
A b Z À é ö
- Numbers removes all numbers.
- Punctuation removes the following characters:
! " # $ % & ' ( ) * + , \ - . / : ; < = > ? @ [ / ] ^ _ ` { | } ~
Select an option to change the capitalization of string data types:
- Upper Case capitalizes all letters in a string.
- Lower Case converts all letters in a string to lowercase.
- Title Case capitalizes the first letter of all words in a string.