Hi all! I'm new in Alteryx and I can't seem to find a way to create new columns with the proportion of each Type of income for every Company respect their revenues.
I'm trying to get something like this: (Company1_A_Revenue2017/Company1Sum_A+P_Revenue2017) and the for B in each Company and year.
I would really appreciate if any of you guys could show me how to to this calculation.
Thanks!
Name | Location | Type | Revenue_2017 | %_2017 |
Company1 | US | A | $ 8,000,000.00 | 44% |
Company1 | US | P | $ 10,320,000.00 | 56% |
Company2 | MX | A | $ 20,000,000.00 | 77% |
Company2 | MX | P | $ 5,935,000.00 | 23% |
Company3 | DR | A | $ 15,000,000.00 | 53% |
Company3 | DR | P | $ 13,080,500.00 | 79% |
Company4 | BR | A | $ 3,500,000.00 | 45% |
Company4 | BR | P | $ 4,200,000.00 | 55% |
Company5 | CH | A | $ 5,000,000.00 | 29% |
Company5 | CH | P | $ 12,000,000.00 | 71% |