on 08-18-2016 2:53 PM
Hi Experts,
Lets say we have Revenue information Per Customer/product/Sold-To as shown below
Now we need to find the ratio of allocation for each sold-To as shown below. What is the best way to find that would be ?
One of the way, which i can think of create an aggregation node on the Revenue table just with Customer and Product and make Amount as Sum for aggregation type.
Later join that with the same table to do the mat of amount/Total Amount to get to the ratio.
The idea is later this ratio will be used to disaggregate the data from Customer to Sold-To level.
Thanks,
Jomy
Hi Jomy,
Go for Dynamic join
Proposed Solution :
Agg Node 1 (Total) :
Agg Node 2 (Line item data) :
Create join between Node1.Customer = Node2.customer and node1.Product=Node2.Product and set dynamic join property on.
Do not create join on Sold-to
Create calculated column as "Ratio" = Node2.Amount / node1.Total.
This will be another approach. Try it.
Happy learning
-Vikram Divekar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Yep, your solution will work. Did you try it? It would be quicker to build the model than write the question!
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.