Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Compare Values on a Column and Output Outcome on a different column.

Eneye
6 - Meteoroid

Hello all,

 

I'm comparing values within a column, this is what it looks like on excel:

 

Eneye_2-1658152751215.png

 

The formula used for count is: =IF(A2<>A1,1,0) and it progresses through the cells as shown in the image.

How can I do this on Alteryx. I've tried using the formula tool, but I can't figure out how to express it.

 

Thanks in advance.

 

 

3 REPLIES 3
IraWatt
17 - Castor
17 - Castor

Hey @Eneye,

To compare different rows with a formula you can use the multi row formula tool:

IraWatt_0-1658153227262.png

If you want to learn more about the Multi-Row-Formula Tool the community has some quick and easy videos on the topic here: Interactive-Lessons Multi-Row-Formula

 

Any questions or issues please ask :)
HTH!
Ira

 

 

Eneye
6 - Meteoroid

Thanks, works perfectly!

IraWatt
17 - Castor
17 - Castor

No worries @Eneye 😄

Labels
Top Solution Authors