In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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