Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

If it contains and contains

mmustkee
10 - Fireball

Hi team,

 

I have a table and I want if my 'state code' column contains 'R' and 'Number' column contain 11 then 'Type column' should be 'in limit' else Out of limit

 

NumberStates Code Type
11R 
11R 
13o 
14o 
15o 
16R 
17R 
18C 
19J 
11R 
21C 
22J 
23R 
24C 
25J 
26R 
11C 
28J 
11R 
30C 
31J 
11R 
22C 
34J 
11R 
36C 
5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@mmustkee 

A select is needed to change the data type for Number column.

0217-mmustkee.PNG

grazitti_sapna
17 - Castor

Hi @mmustkee  is this what you are looking for?


I just have one question why is there a need for using contains function when we can specifically mention the number and state code as per the dataset?

 

grazitti_sapna_0-1613540176594.png


Thanks.

 

Sapna Gupta
mmustkee
10 - Fireball

Hi Sapna,

 

You are right. NO need to use contains formula. It worked.

 

Thanks a lot.

 

Thanks,

Mohammad Mustkeem

grazitti_sapna
17 - Castor

@mmustkee , you are most welcome and thanks for the mark and like.

Sapna Gupta
mmustkee
10 - Fireball

Thanks Qiu. You are so quick.

Labels