Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Level of detail calculation

juesong
5 - Atom

Hi, I am dealing with the below scenario.

 

Table A: Territory-Level Info

Territory MonthTerritory RevenueTerritory Usage
Territory AOct1000100

 

Table B: Account-Level info (multiple accounts under one territory)

AccountTerritoryMonthAccount Usage
Account ATerritory AOct 10
Account BTerritory AOct 90

 

Desired Output: Calculate account-level revenue based on usage

AccountTerritoryMonthAccount UsageAccount Revenue
Account ATerritory AOct 10100
Account BTerritory AOct 90900

 

Any guidance would be greatly appreciated!!!

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @juesong 

 

Here is a workflow for the task. I am assuming the calculation here as ratio.

Output:

atcodedog05_0-1608021378946.png

 

Workflow:

atcodedog05_0-1608022233795.png

 

Calculation assumption. Calculating portions of

 

100 -> 1000

90 -> ?

 

? = (90/100)*1000

  = 900

 

Hence formula

 

([Account Usage]/[Territory Usage])*[Territory Revenue]

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Qiu
21 - Polaris
21 - Polaris

@juesong 

Something like this?

1215-juesong.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @juesong 

 

I have updated my solution with a logical calculation assumption for calculating part of whole. 🙂

juesong
5 - Atom

Appreciate your help!

juesong
5 - Atom

Thanks a lot for your help!

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @juesong 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels
Top Solution Authors