We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Summarize Tool

Cwynot
6 - Meteoroid

Hello,

 

I've got some data that is in multiple rows and I need to join them to one cell based on the work order number. I'm using the summarize tool, however, it's not working for some of my work orders. I believe it's because they have aphabetical characters mixed with numerical characters. Below is an example. 

 

Data before the tool:

Work Order 123456 John Right

Work Order ABC123456 Happy Small

Work Order 123456 Ashley Right

Work Order ABC123456 Aspen Small

 

How I want it:

Work Order 123456 John Right Ashley Right (This works fine currently)

Work Order ABC123456 Happy Small Aspen Small (Isn't working)

 

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

Hi @Cwynot 

 

Here is a workflow for the task.

 

Input:

atcodedog05_0-1603470056107.png

Output:

atcodedog05_1-1603470122440.png

Workflow:

atcodedog05_2-1603470145563.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

AngelosPachis
16 - Nebula

Hi @Cwynot ,

 

Probably the fields are slightly different between them that's why you can't group on them as you were hoping for. Can you validate that the fields have the same length by sticking a formula tool and using the LEN(field_name) function.

 

"ABC123456" and "ABC 123456" may look the same, but there is an extra whitespace that you might not be able to see with naked eye.

 

Thanks,

 

Angelos

Cwynot
6 - Meteoroid

No, the work order number is one column and the name is in a different column. I also tried the len formula and that didn't work either. 

atcodedog05
22 - Nova
22 - Nova

Hi @Cwynot 

 

Is my workflow close by?

 

I think your input might look like the table after text to column.

 

Can you provide snapshot of how your data looks.

Maskell_Rascal
13 - Pulsar

Hi @Cwynot 

 

If Work Order is always in the column, I think this workflow will do it for you. 

 

We can first strip out "Work Order", then use a RegEx Parse, eliminate any spaces from the data, summarize/concatenate together, and then combine it all back again. 

 

Maskell_Rascal_0-1603472869858.png

 

See attached workflow. 

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Thanks!

Phil

 

Labels
Top Solution Authors