Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

picking adjustments

ntudev
8 - Asteroid

I need some help here. I have a bunch of loans that have a manual adjustments and some dont, i need a way to only pick the adjusted loans if there is any and if there isnt then just go with the not adjusted loan. 1 being adjusted and 0 being not adjusted. Example below, i only need the loans with ManAdjlnd 1

AsOfDateClientNbrManAdjInd
6/30/20223647540
6/30/20223647540
6/30/20223647541
6/30/20223647540
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541

 

but if there is no adjustment (0) then we will still keep it.

6/30/202241980

 

what's the most efficient and simple way to do this? I included an excel sheet.

5 REPLIES 5
FrederikE
13 - Pulsar

Hey @ntudev,

 

Hope I understood and this is what you are looking for. If the dataset contains at least one '1' in ManAdj then it returns thoose lines, otherwise it will return the '0' lines. 

ntudev
8 - Asteroid

not quite, if you see the below with the same clientnbr and different manadjlnd

 

AsOfDateClientNbrManAdjInd
6/30/20223647540
6/30/20223647540
6/30/20223647541
6/30/20223647540
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541

 

then we should get the below. only 1s and no 0s.

AsOfDateClientNbrManAdjInd
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541
6/30/20223647541

and if clientnbr is the same and all the manadjlnd is 0 then we just get the 0s.

 

AsOfDateClientNbrManAdjInd
6/30/20224663570
6/30/20224663570

 

does it make sense now?

binuacs
20 - Arcturus

@ntudev Something like below

 

binuacs_0-1660581375298.png

 

ntudev
8 - Asteroid

i added my excel sheet and the filter doesnt work for some reason.

binuacs
20 - Arcturus

@ntudev attaching the workflow. please test with your data and let me know if there are any issues. 

 

binuacs_0-1660665555271.png

 

Labels