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.
SOLVED

IF A = B (give or take 10)

JTCairns
8 - Asteroid

Hi All,

 

I am wondering if anyone knows a quick way in a formula to say does [Value1] = [Value2] with a tolerance of X either way?

 

Cheers 

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus
[Value1] >= [Value2] - [Tolerance]
OR
[Value1] <= [Value2] + [Tolerance]

Just a thought....

 

Instead of "10" I created a variable of Tolerance.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
JTCairns
8 - Asteroid

All Hail MarqueeCrew!!

Arch
8 - Asteroid

Another alternative is to use the absolute value function: ABS(A - B) <= Tolerance

Labels
Top Solution Authors