community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
SOLVED

Summarize and Transpose

Asteroid

Hello and good evening my Alteryx friends.  Happy post voting day!  I the following and I need some support

 

INPUT

unitstoreexpenseCdcost
123ab660rental100
123ab660other99
456cx790rental1200
456cx790other68
456cx790add1000

 

 

I need the following Output.  One row for the unit, displaying as many expense codes listed (usually no more than 6), and summarize the cost.

unitstoreexpenseCd1expenseCd2expenseCd3CostSummary
123ab660rentalother 199
456cx790rentalotheradd2268

 

Your help is most appreciated.  

Pulsar

How about something like this?

 

summarize.png

Alteryx Partner

This solution might help as well (if the number of ExpenseCd's doesn't exceed 6).

Asteroid

Hi Yalmar,

i wasn't exactly clear on the setup for your solution.  I did try based on the image, but I am still getting multiple lines instead of 1.

Highlighted
Asteroid

Thank you David.  This worked.  I will try and apply it to the 1 million records and see if I have any hiccups.

 

 

Labels