Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Using Conditional IF THEN ELSE Statement to +1 or -1 to another number

Michaelovermyer
7 - Meteor

Hello, 

 

I am wondering if it is possible to use conditional statements to add or subtract 1 to a set of values based off of another set of values. E.g. I have created a check figure row in Alteryx that either shows -1, +1, or 0 on a number of items. For items with the check figure -1 I need it add 1 to another set of values, for items with +1 I need it to subtract 1 from that set of values, and if 0 to simply be the number from that list of values. Is this possible?

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @Michaelovermyer 

 

Yes, totally

 

EDIT: You don't need an IF/ELSE Statement

 

something like that I think it would work:

 

[Set of Values] - [Figure]


Cheers,

Michaelovermyer
7 - Meteor

Worked perfectly, I was making it too complicated myself, thanks for the help!!

Labels