Alteryx Designer Desktop Discussions

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

Any way to do the allocation after the cross tab

Ewbkm
7 - Meteor

I am not sure if there is any way I can do the allocation through Alteryx or I should just export to Excel to finish the allocation. 

 

After I summarized the revenue and expenses and calculate the profits per each salesperson per month and I need to allocate the bonus based on the % of total profits.  The data looks like below.  The data after the cross tab is something like below: (xCol is the % of total calculated through the Alteryx)

 

 Dec-21xCol_Dec-21Jan-22xCol_Jan-22
1510610
26122033.3333333
324813.3333333
46121016.6666667
521421118.3333333
6102058.33333333
Total5010060100

 

For Dec, the total bonus to distribute is $120 and for Jan is $80.  The expected distribution result will be like below, distributed based on the xCol_Dec-21 and xCol_Jan-22 %

Ewbkm_0-1643218659821.png

Hopefully, there is a simple way to enter the amount and complete the allocation.  Thanks in advance for any suggestion.  

1 REPLY 1
Luke_C
17 - Castor

Hi @Ewbkm 

 

The percentages is the difficult part for this, which you already have done with the 'x' columns. How are the bonus amounts being input? In it's simplest, for december you could do a formula tool with the following:

 

120 * ([xCol_Dec-21]/100)

 

In practice, you may want to have the bonus amounts entered and appended to the data set to aide in the calculation

 

 

Labels