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.

Split Out Costs

afinzel2
5 - Atom

Hello, 

 

I have a repeating cost that is only being paid out once per order and I need to apply it to three different types of products going into that one order. 

 

Input
Order CostType
1234567.95A
1234577.95A
1234577.95B
1234587.95C
1234597.95A
1234597.95B
1234597.95C
Output
 ABC
1234567.9500
1234573.9753.9750
123458007.95
1234592.652.652.65

 

Any ideas how I could do that? 

1 REPLY 1
Qiu
21 - Polaris
21 - Polaris

@afinzel2 
We can first count how many "Type" consisting in one order then do an average, then join back with the original input.

After a CrossTab, we are there.

0418-afinzel2.PNG

Labels
Top Solution Authors