In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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
binu_acs
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