Alteryx Designer Desktop Discussions

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

Adding new fields, concat existing field, and return one row by group by

nirvapatel1998
7 - Meteor

Hello, 

Can anyone please guide me for the following scenario: 

 

 

This is my input data (Screenshot)

nirvapatel1998_0-1679081353522.png

 

What needs to be done:

- Add a new column "Date+No" (Here, I want Date and No. to be concatenated in one column) 

- Add new column where Amt-Concat Column is also concatenated

-Groupby IDno

 

Expected Output: 

DateNoAmtIDnoDate+NoAmt-Concat
03172023138222031720232, 031720233, 03182023410,10,8
      

 

Expected row should only have one row after groupby four rows in the result 

 

Please let me know if you have any questions. 

 

Thank you in advance. 

4 REPLIES 4
binuacs
20 - Arcturus

@nirvapatel1998 One way of doing this with the summarise tool

binuacs_0-1679083221313.png

 

nirvapatel1998
7 - Meteor

Hello, 

 

Thank you so much for a quick response. How do I get the Date and No column as well that displays the first row 

binuacs
20 - Arcturus

@nirvapatel1998 @There are two dates for the same id number, which date you want to be in the output?

binuacs
20 - Arcturus

@nirvapatel1998 I used the first option for the field date

binuacs_0-1679094026013.png

 

Labels