Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

IF Conditions

meziane36u
7 - Meteor

how to make several conditions, for example if the value = 1 then Normal, for all fields?

1 - Normal

2 - Light rain

3 - Heavy rain

4 - Snow - hail

5 - Fog - smoke

6 - Strong wind - storm

7 - Dazzling weather

8 - Cloudy weather

9 - Other

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @meziane36u,

 

I would suggest a combination of the Transpose + find and replace tool. Find and replace is better than formula tool as it is easier to maintain. 

 

Emil_Kos_0-1608416446984.png

 

 

In the end, I am using a cross tab to transform the data into the old format.

 

Please mark my solution if this was helpful.

 

Good luck!

Tyro_abc
11 - Bolide

Hi @meziane36u 

 

Please check the attached workflow and let me know if this is what you are looking for.

I used Switch Case inside the Multi-Field Formula tool to achieve the same. 

arundhuti726_0-1608452750198.png

 

 

meziane36u
7 - Meteor

thank you all i fixed the problem using formula

Labels