This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
1 Day Left! - The Alteryx Community will be temporarily unavailable for a few hours due to implementation of the new SSO experience starting tomorrow at 5pm MDT. Please plan accordingly. For more information, read the blog.
The answer is probably staring me in the face. However if I actually go to finish the If/Then statement
It freaks out when I try and add the final EndIf. I have tried to do it with and without the (). There must be something wrong. Nor do I care what the last Else is coded too as there really shouldn't be anything left.
What is the data type of your field [sum_sales_week_95]? The error message the formula tool is giving you looks like you are trying to do math on a string field. The solution to that issue is to change it to a numeric field!
Also, I believe you could accomplish this binning with the manual cutoffs configuration in the tile tool... just a thought!
If you ever find yourself writing a lengthy IF statement, I'd encourage you to investigate some of the other tools available. A long IF statement like this accomplishes the goal, but it's easy to make mistakes and not very dynamic. This kind of binning can be done in the tile tool or with creative uses of the join tool! Happy solving!