Not functioning formula tool?
- 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
Hi there,
I have a small problem. I have some fields that I need to add into a new field called "Total Population".
However, when i add them together, it comes up with "Null", and I do not understand why. All the fields going into the formula tool are numeric, so they should add up, right?
Or is there someting I miss?
Solved! Go to Solution.
- Labels:
- Bug
- Preparation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @olehr if your fields a string type that would explain why the formula is not working. Could you share an example of the data or workflow you are working on ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If any of your values are NULL then summing them together will equal NULL.
You can use the data cleansing tool prior to the formula tool to convert all NULL values to zero.
Then your formula will work as planned.
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Ben,
I tried to use the clensing tool, and then it reports 0 instead of Null. What I do not understand is that it has worked before, and all that goes into the formula tool are Int64. So this is a puzzle to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi again,
For some reason, when i closed alteryx, and reopened it, it did work. Wierd!. Anyhow, thanks for the help 🙂
