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 two rows and adjust for $0.01 rounding

ELPC
8 - Asteroid

Hi all, 

I'm trying to compare two rows where the "Name" and "Traveled To" columns are the same.  (Net Pay = Earnings column less all the other columns)  I need to compare the Net Pay lines in the 2 rows.  If there is a difference of 1 cent, I want to adjust the Lived State Tax column for the 1 cent.  Then I would just put in another formula tool to recalculate the Net Pay column so they now match.  I've tried the Multi row formula but couldn't come up with a formula that would work.  Any help would be greatly appreciated!  Thanks.  

 

 

Net Pay = Earnings less all the other columns

ELPC_0-1638305307686.png

 

5 REPLIES 5
fmvizcaino
17 - Castor
17 - Castor

Hey @ELPC ,

 

Here it is.

fmvizcaino_0-1638310826608.png

 

 

Best,

Fernando Vizcaino

JarekSkudrzyk
11 - Bolide

Hi,

I have done the comparison using a combination of summarize, formula and cross tab tools - please find attached (cross tab tool allows the workflow to function properly even when new columns are added)
Hope this is helpful.

JarekSkudrzyk
11 - Bolide

Sorry, did not notice that the question has already been answered:) 

fmvizcaino
17 - Castor
17 - Castor

No worries @JarekSkudrzyk . The more answers and different solutions, the better! 

ELPC
8 - Asteroid

Thank you so much!  That worked. 

Labels
Top Solution Authors