We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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