Automated migration results
During Import:- The Data Cleansing tool is converted into a Data Cleansing gem.
- Import preserves column selections and cleansing options (such as trim, null replacement, and character removal).
Manually replicate in Prophecy
- Add a Data Cleansing gem.
- Select columns to clean.
- Select and configure options such as Replace nulls in column, Remove unwanted characters, and Modify case.
- Preview results in the Data Explorer to verify fields.
Configuration options
In Alteryx, configuration includes choosing fields and selecting operations to apply:- Replace nulls with blanks or zeros.
- Remove unwanted characters (letters, numbers, punctuation).
- Trim leading and trailing whitespace.
- Force upper or lower case.
- Remove duplicate whitespace.
- Replace nulls with user-defined values.
- Trim whitespace (leading, trailing, or both).
- Remove tabs, line breaks, or other specified characters.
- Convert text to lowercase, uppercase, or title case.
Output behavior
Alteryx applies cleansing row by row inside Designer or on an Alteryx server. Prophecy computes cleansing operations using SQL expressions at execution time.Known caveats
- Some Alteryx character filters (such as removing all letters or all numbers) may require regex in Prophecy.
- Type handling follows SQL rules in Prophecy and may differ from Alteryx.
- Automatic field-group selections in Alteryx must be specified explicitly in Prophecy.
Examples
Alteryx Data Cleansing tool example
Goal: Trim whitespace across name and address fields and replace nulls with blanks. Steps:- Add Data Cleansing Tool to canvas.
- Select
NameandAddressunder Select Fields to Cleanse. - Check Replace with Blanks under Replace Nulls.
- Check Leading and Trailing Whitespace under Remove Unwanted Characters.
- Click Run.
Prophecy DataCleansing gem example
Goal: Enable trimming and null replacement for the same fields in the Data Cleansing gem and preview results in the Data Explorer. Steps:- Add a DataCleansing gem to the canvas.
- Configure the DataCleansing gem:
- Under Select columns to clean, select
NameandAddress. - Under Replace null values in columns, check For string columns.
- Under Remove unwanted characters, check Leading and trailing whitespaces.
- Click Save.
- Under Select columns to clean, select
- Confirm output using the Data Explorer.

