Alteryx Designer Desktop Discussions

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

Is there a way to achieve this calculation? pls see the post for details

ryanzhang487
8 - Asteroid

Hi community, 

I have two tables, I would want to calculate the sum of pension amount all time (which is 150, in main table) then multiply the corresponding item's percentage (in distribution table) for corresponding months, (for example Apple would be 150 *0.2+150*0.3 = 75),

the third picture in highlight would be the the result I want to simply display in Tableau,

 

sample excel file attached, I hope that make sense, 

Thank you for your help

 

 

 

main data: 

Capture999.JPG

distribution table:

Capture9999.JPG

final desired display highlight in yellow, and the logic: 

Capture99999.JPG

   

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@ryanzhang487 
I was not able to fully understand the logic here. just tried to replicate your output. Hope it works.

0205-ryanzhang487.PNG

ryanzhang487
8 - Asteroid

Thanks a lot! that is right

Qiu
21 - Polaris
21 - Polaris

Glad to be any help

ryanzhang487
8 - Asteroid

Thank you Qiu, you are very helpful and I posted another question,

could you please take a look for me? thank you so much

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Is-there-a-way-to-achieve-this-calcula...

Labels