ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Change Data using Indb tools

rats
Meteoroide

Hey Guys,

 

I have to conditionally change my data using indb tools.

 

I have data like

 

cust Quantity   Q1   Q2

1          1            2     3 

2           5           4     6

3           4           4     6

 

 

CASE WHEN "QUANTITY" <Q1 THEN "HEAD"=Q1

ELSE "HEAD"=Q2

 

*Head is a new column that I want to create

 

I have tried using the above case statement using indb formula but it doesn't work.I am ok to use any other in db tool as well.

1 RESPUESTA 1
Inactive User
No aplicable

Formula tool for HEAD

 

IF "QUANTITY"<"Q1" THEN "Q1" ELSE "Q2" ENDIF

Etiquetas
Autores con mayor cantidad de soluciones