Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Function in alteryx - summarize varios rows into one

Cesc
8 - Asteroid

Hello Alteryx forum,

 

I was trying to create a summary of accounts per document number. So what I needed to do is the following:

 

1. I have this dataset. I would like to add another row that summarizes the field 3DIG per Nº asiento periodo 2. So, the first three lines of the new field would be:

N asiento    NEW FIELD

15                430+438

20                432+574

21                432+555+665

22                430+432                

Cesc_0-1646058162821.png

Would really appreciate your help.

Thanks

10 REPLIES 10
atcodedog05
22 - Nova
22 - Nova

Hi @Cesc 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1646059165309.png

 

Hope this helps : )

 

atcodedog05
22 - Nova
22 - Nova

Hi @Cesc 

 

Can you provide the expected output I might be a bit confused about what the expected output. If you want only to summarize you can do it like this.

 

atcodedog05_0-1646059293219.png

 

Hope this helps : )

 

Cesc
8 - Asteroid

Hi, thanks for you quick reply.

 

I don't want to actually sum them (like you show above), i want to concatenate the 3DIG like this:

Cesc_0-1646059345767.png

 

 

Cesc
8 - Asteroid

Here is how i achieved it in excel

atcodedog05
22 - Nova
22 - Nova

Hi @Cesc 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1646059629276.png

 

Hope this helps : )

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@Cesc ,

 

One tool is all that you need for this challenge:  Text to Columns

 

capture.png

 

By using a + for the Delimiter and choosing to Split to rows, you get your data as requested.

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
atcodedog05
22 - Nova
22 - Nova

Hi @Cesc 

 

Thank you for the file here is the updated workflow

 

atcodedog05_0-1646059810762.png

 

Hope this helps : )

 

binuacs
21 - Polaris

@Cesc 

binuacs_0-1646059854339.png

 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Cesc 

Cheers and have a nice day!

Labels