Data Cleansing
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a column with a mix of numbers and Null values but the Data Cleansing tool does not replace the nulls with 0 when I select this option. It stays null. Any idea how I can resolve? The Data Cleansing tool is working for other parts of my workflow but not this column.
Solved! Go to Solution.
- Labels:
- Transformation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What is the data type? The option for Replace Nulls says "Replace with 0 (Numeric fields)"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
hi ! use a select tool first and and change the column type to a number type.. in this way data cleansing tool will acknowledge the column as a number column and any blank cell will have zero (0).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
A "blank" value is different from a Null value. Data Cleansing will only replace Null values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Since you have null values in the column, alteryx is considering it as string data type. Use a select tool to change the data type to number and then use data cleansing tool. Hope this explains the reason and resolves the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you, all. This is resolved per all of your suggestions!
