We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Formula is showing In Correct

duttaabhishek
7 - Meteor

Hi I have the below dataset. The Column "Count" is the original Dataset. I want to add a column "Risk Score" as per the count using IF ELSE Formula. I am using a formula which is showing incorrect. Please help 

 

 

CountRisk Score (This column needs to be Added as per the COunt COlumn
01
1 - 52
6 - 103
11 - 154
16 - 205
21 - 306
31 - 407
41 - 508
51- 709
71 - 9010

                     

3 REPLIES 3
Bren_Spill2
12 - Quasar
12 - Quasar

@duttaabhishek - instead of creating a formula, you could use Find Replace and use the table below as your lookup. See attached.

 

If you want to use a formula, try this (and add in the rest of the categories):

 

Count Pic.JPG

duttaabhishek
7 - Meteor

Hello @Bren_Spill2 Thanks.

 

I also thought of using the FInd/Replace Tool. But in the FInd replace tool I am unable to view the appropriate column inside "FInd Within Field" Section within the FInd Replace TOol. I am attaching the Base Input file also from which the tool is required to "FInd Within FIeld". I am only able to see the COlumn "Country" however I need the column "Count" to be visible in the "Find within the field section" in the FInd/replace tool. 

 

 

 

 

Bren_Spill2
12 - Quasar
12 - Quasar

@duttaabhishek - see attached an alternative approach using the Tile tool

Labels
Top Solution Authors