Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Parse and Concatenate

mmaziere
7 - Meteor

Hello,

 

I have a table that has properties and values that I want to parse out, group, sum and then put back together again as a single string . I attempted to use the Cross Tab tool, but it only gets me part way to the solution. In the following example data I want to consolidate all of the possible values in the 'PROP' column, sum up the VOL and WT values and drop out the ITM records. However, the ITM values are not just limited to a handful, but rather could be in the hundreds or even thousands.

 

SHDOCDGITMFREQPROPVOLWT
300087793010003279841102DWO_K1.75614.9
300087793010003279841902DWO_R4.2527.78
300087793010003279841302DWO_K0.338
300087793010003279841702DWO_P4.8723
300087793010003279841502DWO_K0.5

10

 

Desired Result:

 

Group SH, DOC & DG (As KEY), FREQ

Sum VOL & WT

 

SHDOCDGKEYFREQPROPVOLWT
3000877930100032798413000877930100032798412DW[O_K] [O_R] [O_P]11.7183.68
5 REPLIES 5
binuacs
21 - Polaris
Qiu
21 - Polaris
21 - Polaris

@mmaziere 
Try some different. but seem longth than the one of @binuacs 😁

0206-mmaziere.png

Raj
16 - Nebula

One way of doing this.

PangHC
13 - Pulsar

least tools challenge
first summarize the group and sum, formula to add key, then 2nd summarize for group, concatenate, and final sum. 

 

if summarize have concatenate distinct. it will down to 2 tools. :)

here the idea link: Concatenate Unique - Alteryx Community

Screenshot 2024-02-06 160950.png

 

time efficiency (move key after 2nd summarize as it will less record. and use select tool to move column) 

 

 Screenshot 2024-02-06 160953.png

mmaziere
7 - Meteor

thanks everyone!

Labels
Top Solution Authors