ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

String of codes

kunalswami
7 - Meteor

kunalswami_0-1765431127155.png

Need a help to build the expected result shown in screen shot and also in attached file.

 

As we see in the Row number 3. We have ITEMCODE= 8PA2543YDNEWMOD2 and for Like Profile=8PA2543YDNEWMOD1 which has a like profile= 310006 in row number 2. so we need the expected result for 8PA2543YDNEWMOD2 as shown in Expected result.

 

As we see in the Row number 4. We have ITEMCODE= 8PA2543YDNEWMOD3 and for Like Profile=8PA2543YDNEWMOD2 which has a like profile= 8PA2543YDNEWMOD1 in row number 3 and which also has a like profile in row number 2 as 310006. so we need the expected result for 8PA2543YDNEWMOD3 as shown in result.

 

6 REPLIES 6
flying008
15 - Aurora

Hi, @kunalswami 

 

Please find the Hierarchy Macro in  gallery then follow below process.

 

录制_2025_12_11_16_44_20_4.gif

 

Output   
ITEMCODECurrent ComponentNew ComponentLike Profile
8PA2543YDNEWMOD2960139300006ET310006
8PA2543YDNEWMOD2300198300042310006
8PA2543YDNEWMOD3960139300006ET310006
8PA2543YDNEWMOD3300198300042310006
8PA2543YDNEWMOD3300017ET123478310006
8PA2543YDNEWMOD4960139300006ET310006
8PA2543YDNEWMOD4300198300042310006
8PA2543YDNEWMOD4300017ET123478310006
8PA2543YDNEWMOD4300014ET2343657310006
kunalswami
7 - Meteor

Could you please share the workflow?

kunalswami
7 - Meteor

Could you please share the macro link not able to find it in gallery?

flying008
15 - Aurora

Hi, @kunalswami 

 

As @binu_acs  said, you can got it. 

kunalswami
7 - Meteor

Thanks @flying008  and @binu_acs 

Labels
Top Solution Authors