Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Multiplying a value if the value is on or over a certain value

arundaka02
8 - Asteroid

Hi everyone, 

 

In the attached dataset 'Pod Steps on and after 13.02', I want the sum_steps value to be doubled if the value is on, or over, the ave steps value in the table below: 

 

podave steps
DH35,847
MF27,941
MW10,263
Partner29,954
VK33,859

 

For example, if DH pod record 36,000 in sum_steps then it should change to 72,000 as it is over 35,847. If the value does not go over the ave steps value, then the number remains the same. 

 

Assuming a conditional statement in Formula tool will achieve this but my attempts haven't gone to plan!

 

Any help appreciated, thanks

KA

2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @arundaka02 ,

 

I've used a find & replace tool to append the ave steps field right next to each sum_steps field based on the pod. Then with an If expression, I estimated the required Sum_Steps. You can achieve the same with a Join tool as well.

 

AngelosPachis_0-1615655905192.png

 

Hope that helps,

 

Angelos

 

Qiu
21 - Polaris
21 - Polaris

@arundaka02 
As suggestd by @AngelosPachis , I tried with the Joint Tool

0314-arundaka01.PNG

Labels
Top Solution Authors