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

Records on the same line

BautistaC888
8 - Asteroid

Hello,

I need to merge the records with the same ID into 1 full line.

Example:

Input-

BautistaC888_0-1623060340918.png


Desired output:

BautistaC888_1-1623060464997.png


Thank you.

 

2 REPLIES 2
KarolinaRoza
11 - Bolide

Hi @BautistaC888

 

You can use Summarize tool:

- group by ID,

- max by other fields.

 

In case you have two different  values in both fields it may not work as expected but for the same values or null() it works.

 

Karolina

 

 

KarolinaRoza_0-1623061433170.png

 

Emil_Kos
17 - Castor
17 - Castor

Hi @BautistaC888,

 

You can also use concatenation and remove duplicated positions:

 

Emil_Kos_0-1623062707469.png

Emil_Kos_1-1623062713980.png

 

Labels
Top Solution Authors