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.

Compare two Amount

Ekta
8 - Asteroid

Dear All, 

I would like to know the formula to compare two amounts with +-1 difference ,

Amount 1      333,333.60

Amount 2       333,333.42

 

On comparing both Amount , output should be true.

 

Thanks in advance

1 REPLY 1
T_Willins
14 - Magnetar
14 - Magnetar

Hi @Ekta,

 

If you get the amounts side by side, then using the formula ABS([Amount 1] - [Amount 2]) <= 1 with a field type of 'Bool' will give you the required results.

 

Compare Values.jpg

 

Labels
Top Solution Authors