Free Trial

Alteryx Designer Desktop Discussions

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

How to fill the multiple rows with matching value if condition is met.

Kottapally_Ramesh
7 - Meteor

Hi,

I'm trying to fill the rows for set of ID's based on the IF condition. 

Logic: IF status is "Pass" THEN  "check" column value needs to populate in "Output" column for all the rows for each ID.

Input Data:

 

IDStatusCheck
1234aseaa
1234PassReceived
1234asdfffb
1234asfwec
1234asfdwred
1234asdfwere
123456PassSuccess
123456asq
123456asdw
123456asdwer
123456asdft
123456asdqwty
123456asdau
123456fasdi
7891asdfaaa
7891Pass 
7891qrrr
7891wrk
8888arrt
8888byy
8888czz
8888PassDone


Expected Output:

IDStatusCheckOutput
1234aseaaReceived
1234PassReceivedReceived
1234asdfffbReceived
1234asfwecReceived
1234asfdwredReceived
1234asdfwereReceived
123456PassSuccessSuccess
123456asqSuccess
123456asdwSuccess
123456asdwerSuccess
123456asdftSuccess
123456asdqwtySuccess
123456asdauSuccess
123456fasdiSuccess
7891asdfaaa 
7891Pass  
7891qrrr 
7891wrk 
8888arrtDone
8888byyDone
8888czzDone
8888PassDoneDone


i have tried below formula in multirow tool to create "Output" field. But it's not working for the all the ID group rows, it's filling the value for row-1 only. 
 
IIF([Status] = "Pass", [Check],
IIF(ISNULL([Row-1:Pass_Check]), NULL(), [Row-1:Pass_Check])
)

Please advice how to achieve this output ?

3 REPLIES 3
Raj
16 - Nebula

@Kottapally_Ramesh 
find the workflow attached
mark done if solved.

nagakavyasri
12 - Quasar

@Kottapally_Ramesh Another way:

 

Screenshot 2024-11-12 145052.png

flying008
15 - Aurora

Hi, @Kottapally_Ramesh 

 

FYI.

 

录制_2024_11_13_08_36_08_728.gif

Labels
Top Solution Authors