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

Multi field formula to update values for certain records

monish_chandra
8 - Asteroid

I'm trying to inflate the values by a % for certain records in the data. I'm trying to do this using the Multi-Field formula. But The values are 

 

IDModifierPayor1Payor2Payor3
1513473466523
2 545734743468
354589800790

 

I need to inflate the values by 150% for Payor1,2 and 3 if the modifier is 51 and by 120% for Modifier 54 ELSE No change to the values. In the above example rows with ID 1 and 3 have to be inflated. I tried this below formula but its not correct. 

 

IF [Modifier]=51 THEN [Payor1]=[Payor1]*1.5 ELSE 0 AND [Payor2]=[Payor2]*1.5 AND [Payor3]=[Payor3]*1.5

ELSEIF  [Modifier]=54 THEN [Payor1]=[Payor1]*1.2 ELSE 0 AND [Payor2]=[Payor2]*1.2 AND [Payor3]=[Payor3]*1.2

ENDIF

1 REPLY 1

Hi @monish_chandra 

 

Is this what you are looking for? Cheers!

 

christine_assaad_0-1609187090433.png

 

Labels
Top Solution Authors