Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

same ID based on group

BRRLL99
11 - Bolide

Hi

I have following dataset, if it starts with i| then new id has been assigned

 

dataid
i|1
a1
b1
c1
rrr 100- fgb1
j1
g1
i|2
j2
k2
l2
t2
101-gh2

 

Expected output: based on ID, whenever it contains 100- , then entire id should be marked as same

i would like to do it using multi row formula instead of transpose, my original dataset has 10 million rows

 

dataid 
i|1same
a1same
b1same
c1same
rrr 100- fgb1same
j1same
g1same
i|2 
j2 
k2 
l2 
t2 
101-gh2 
3 REPLIES 3
binuacs
21 - Polaris

@BRRLL99 I think join tool would make it much more easier than multi-row tool becuase the key word 100- can any where in the row for a particular gooup that would make it much complex

image.png

BRRLL99
11 - Bolide

Sorry my original dataset is different,

100- can be found in same id in multiple rows

if use join it is creating duplicates

 

dataid
i|1
a1
b1
ctt 100-1
rrr 100- fgb1
j1
gyt 100-1
i|2
j2
k2
l2
t2
101-gh2

 

BRRLL99
11 - Bolide

thank you for help

using your workflow i tried different approach issue got resolved

Labels
Top Solution Authors