Alteryx Designer Desktop Discussions

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

Comparing values until blank row

ilovecoding
8 - Asteroid

Hello Geniuses,

I have a roles in a column wherein i have blanks after every 2 rows. All i'm checking is there has to be preparer and reviewer combination in each pair and NOT preparer-preparer or reviewer-reviewer combo. If so, all i need is 'good' to be populated in check column, here is the table

 

RoleRole check
(null) 
Preparergood
Reviewergood
(null) 
Preparergood
Reviewergood
(null) 
Preparergood
Reviewergood
10 REPLIES 10
gawa
15 - Aurora
15 - Aurora

hi @ilovecoding 

Multi Row formula can solve your case.

Though not mentioned in your post, I put "Not good" when condition is not met.

image.png

ilovecoding
8 - Asteroid

Thank you very much

ilovecoding
8 - Asteroid

Hey i applied the same logic to my another column where i m comparing sentences, basically a one liner. What i noticed is for majority of times it is giving me correct output as 'not good' for those where 2 lines are exactly identical, however for few it is giving me 'good' where both the lines are identical. Would you know why ?

 

see below, xxx is nothing but sensitive data.

Sanctioned xxx . Actual maturity date mm/year . xxx and xxx still reflect holdings.PreparerGoodgood
Sanctioned xxx . Actual maturity date mm/year . xxx and xxx still reflect holdings.ReviewerGoodgood
gawa
15 - Aurora
15 - Aurora

hi @ilovecoding *If possible, please mention like @XXXXX so I can receive notification, otherwise I would miss it

 

Can you change configuration of Multi Row Formula like this, and check the result again?

Values for Rows that don't Exist

0 or Empty => NULL

 

image.png

ilovecoding
8 - Asteroid

@gawa - tried, didnt work :(

gawa
15 - Aurora
15 - Aurora

@ilovecoding Can you provide more sample data so that I can reproduce your issue at my end? 

ilovecoding
8 - Asteroid

@gawa  Here is the table with the outcome i need in last 2  columns. For comments its working for majority but not for some. 

 

CommentsRoleComment checkRole check
A for apple.PreparerNot goodGood
A for apple.ReviewerNot goodGood
    
B for ball.PreparerGoodGood
C for cat.ReviewerGoodGood
ilovecoding
8 - Asteroid

If comments are same its 'not good'

ilovecoding
8 - Asteroid

If comments are same it would be no good, also each such lines has one blank line on top. 

CommentsRoleComment checkRole check
    
A for apple.PreparerNot goodGood
A for apple.ReviewerNot goodGood
    
B for ball.PreparerGoodGood
C for cat.ReviewerGoodGood
    
D for Dog.PreparerGoodGood
R for RabitReviewerGoodGood
    
J for Joker.PreparerGoodGood
M for MonkeyReviewerGoodGood
    
N for nose, Z for zebraPreparerNot goodGood
N for nose, Z for zebraReviewerNot goodGood
Labels