Alteryx Designer Desktop Discussions

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

append cell using multi-row formula

prthmesh111
8 - Asteroid

Hi , 

 

can someone please help me out in below example of the table using multi-row formula any other way

if number = row+1:number then

if date != row+1:date then "date mismatch"

else if value! = row+1": Value " value not match"

else "" end if

else "" end if

in the comment section it should show both the conditional value,

but currently showing single value

 

NumberDate ValueComment
123412/02/2020100Date mismatch. value not match
123413/02/2020500Date mismatch. value not match
123514/02/2020600Date mismatch. value not match
123515/02/2020700Date mismatch. value not match
5 REPLIES 5
patrick_mcauliffe
14 - Magnetar
14 - Magnetar

@prthmesh111 Can you please post what you've tried so far so no one tries something you've already done?

prthmesh111
8 - Asteroid

using multi-row formula, i first check if number of first row is = to number of next row then

first i check if date of first row != date of second row then i put "date not match"

else_if value of first row != value of second row then " value not match"

else " "

end if

end if

so i want that Comment to be date not match, value not match

 

but currently i am getting only date not match 

ArtApa
Alteryx
Alteryx

Hi - I think this is what you're looking for:

 

if [Number]=[Row+1:Number] then
iif([Date ]=[Row+1:Date ],"","Date mismatch. ") + iif([Value]=[Row+1:Value],"","value not match")
else ""
endif

 

I attached my workflow for your reference:

ArtApa_0-1594040118158.png

The first Multi Row is your condition. The second is to fill the gaps.

prthmesh111
8 - Asteroid

Thanks for the solution

sgwong
8 - Asteroid

Need assist to get the below output.

Labels