Advanced Designer Learning Path is now live! Read More

Formula if, elif, else

Level 3
Level 3
Formula if, elif, else

What's the formula for if, elif,else?

I have 3 categories in column M and with formula i try  if(M<0, "negative", "positive","neutre") don't work !!

Do you have another formula?

2 Replies
Dataiker
Dataiker

Hi @MS 

You could try

if(M<0, "negative", if(M>0, "positive","neutre"))

 

Alternatively, you could use a Python processor and use if,elif,else as you seem to want.

I hope this helps!

Level 3
Level 3
Author

Thanks

 

A banner prompting to get Dataiku DSS