Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Consolidating large data set into summary table

Felix776
8 - Asteroid

Hi Alteryx Community!

 

I have a table which I like to summarized. 

 

from:

 

AAAAA

HDI3DL

AAAAA

SDF35

AAAAA

KG3FK

BBBBB

D75END

BBBBB

FH2JC

BBBBB

HD5I3D

BBBBB

SDF36

CCCCC

KG3FFK

CCCCC

D75N3D

DDDDD

KGFFK

DDDDD

D75ND

DDDDD

FHRJC

DDDDD

HDI3D

DDDDD

SDF38

 

to 

 

Model

Counts

Option 1

Option 2

Option 3

Option 4

Option 5

AAAAA

3

HDI3DL

SDF35

KG3FK

 

 

BBBBB

4

D75END

FH2JC

HD5I3D

SDF36

 

CCCCC

2

KG3FFK

D75N3D

 

 

 

DDDDD

5

KGFFK

D75ND

FHRJC

HDI3D

SDF38

 

I have been trying an only able achieve a concatenated version, I know a way to split them using "Text to Column" but if I have 100s of Models and "Text to Column" seems only able to split one column at a time PLUS have to specific the number columns without auto detection of how many deliminator there are.

 

Any help would be grateful! 

 

Many Thanks

6 REPLIES 6
afv2688
16 - Nebula
16 - Nebula

Hello @Felix776,

 

This will do it:

 

Untitled.png

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Felix776,

 

You could use this method:

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

danrh
13 - Pulsar

Two more options. The first is the most concise, but it relies on you manually putting in the max number of options in the Text-to-Column tool. If it's never going to be more than 5 options, great. If that could change, the second option is more dynamic and should be able to cope with however many options you throw at it. Take a look, see if either of these fit your needs.

 

danrh_0-1580397022421.png

 

Hope it helps!

Dan

Felix776
8 - Asteroid

Thank you 

afv2688
16 - Nebula
16 - Nebula

Glad it helped!

 

If you need anything else let us know!

 

Regards

Jonathan-Sherman
15 - Aurora
15 - Aurora

If you need your count column @Felix776 then summarise to group by model, count model and join the summarise back on the model field

Labels