Alteryx Designer Desktop Discussions

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

How to get table in Alteryx into pivot-table like format

Hello,

 

I am trying to format a table in Alteryx to get it into a similar format that the pivot table function in excel uses. The input data is in a format such as this below...

ManagerEmployeeCount

Tom

Lucia

235
TomAlice357
TomChris214
DavidSauruv333
DavidRahul111
AliciaRohit2222
AliciaAnish123
RonaldSamarth345

 

I would like the format of the table to be as the following...

 

EmployeeCount
Tom806 (Calculated by adding below three values of 235 + 357 + 214) 
  Lucia235
  Alice357
  Chris214
David444 (Calculated by adding below two values of 333 + 111) 
  Sauruv333
  Rahul111
Alicia2345 (Calculated by adding below two values of 2222 + 123) 
  Rohit2222
  Anish123
Ronald345 (Calculated by adding below value of 345) 
  Samarth345

 

If there is any specific tool or solution that would be helpful in achieving this, that would be very much appreciated!

3 REPLIES 3
cjaneczko
13 - Pulsar

Its a bit clunky and will need the Regex updated to account for last names, but check out the below workflow.

 

image.pngimage.png

 

 

 

geraldo
13 - Pulsar

@saiabhijitpabbisetty 

 


Another examplepivot.JPG

This worked perfectly. Thank you!

Labels