In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

need help in winsorizing (outlier removal)

alteryx_user
7 - Meteor

Hi, 

I am trying to remove outliers in the column "value".

 

Expecting output as in the column "adjusted".

if [Name]="asset"
and
[Value]<"-218.23" then "-218.23"
else
[Value]
endif

 

if [Name]="asset"
and
[Value]>"520.33" then "520.33"
else
[Value]
endif

 

 

Please find the attachment for input.

Appreciate your help

 

 

2 REPLIES 2
NickSm
Alteryx
Alteryx

@alteryx_user 

 

Can be done with a formula tool and the the expressions you've entered here, just have to make sure the fields coming from the .csv are changed to numeric prior to the formula.

 

Also, to recreate the "Adjusted" column it didn't look like the [Name] field had to be part of the expressison - attaching a workflow that shows both.

 

 

alteryx_user
7 - Meteor

@NickSm Thanks for looking into it. You are right. Name field doesn't have to be a part of the expression.

Labels
Top Solution Authors