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

Multi-Row Formula

Nelso01c
5 - Atom

Is there a way to remove duplicates or return null within the same column using Multi-Row Formula.

In my attachments the MaterialMaster Col [B] & Right Assembly Col [C] repeats for the MateriaNumbers within the Right Assembly.

 

ORIGINAL

countMaterialMasterRight_AssemblyItem NumberMaterialNumber
1PSK1234567PRESSURE MEASURING STATION0003PSK0246810
2PSK1234567PRESSURE MEASURING STATION0009PSK0246811
3PSK1234568ACCESS PANEL0002PSK0246812
4PSK1234569ISO-PHASE PLATE/TAB SUBASSY0004PSK0246813
5PSK1234569ISO-PHASE PLATE/TAB SUBASSY0006PSK0246814
6PSK1234569ISO-PHASE PLATE/TAB SUBASSY0010PSK0246815
7PSK1234569ISO-PHASE PLATE/TAB SUBASSY0011PSK0246816

 

DESIRED OUTPUT

countMaterialMasterRight_AssemblyItem NumberMaterialNumber
1PSK1234567PRESSURE MEASURING STATION0003PSK0246810
2  0009PSK0246811
3PSK1234568ACCESS PANEL0002PSK0246812
4PSK1234569ISO-PHASE PLATE/TAB SUBASSY0004PSK0246813
5  0006PSK0246814
6  0010PSK0246815
7  0011PSK0246816
3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @Nelso01c 

 

Here's how I'd approach it. Multi-row can be tricky so leveraged a tile tool to group the records by the materialmaster and just keep the first record

 

image.png

Qiu
21 - Polaris
21 - Polaris

@Nelso01c 
I have replied another similar question with more columns to process.
Maybe you can take a look.

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/replacing-the-repeating-value-...

@Luke_C 
Nice use with the Tile tool, I have not use it in this way. Thanks for the lighting.

Nelso01c
5 - Atom
@Luke_C Thanks, This WORKED GREAT!
Labels
Top Solution Authors