Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

measure based on allocation key

Hi all,


I have below matrix that shows per company the cost per category. This is straightforward data for Company 0-8.

 

 

However, we have a dummy company, company9, where cost needs to be allocated based on hours (allocation key) from a different table. 

 


Example : we have in company 9 under category A a cost of 5000 that needs to be allocated based on S.2000. If we look to the allocation data, we see that S.2000 has a total of 1408 hours split between the companies. Company 1 should of the total cost of 5000 get 8/1408, company should get 100/1408 etc..

Final visual/matrix would show per company the direct cost + the allocated cost from company 9.

I have however no clue on how to achieve this, so I was hoping somebody could help me 😊

 

Below the data that is a sample of the data :

 

Cost Table

CompanyCategoryCost objectCost
Company6Ad.1500400
Company5Dc.15003000
Company10Cb.10005000
Company9Ts.15009000
Company7Ws.1500400
Company9Es.15003000
Company10Tb.10005000
Company9Ws.15009000
Company9Qs.15003000
Company9As.20005000
Company8Rb.10003000
Company9Ts.20005000
Company1Yd.15009000
Company9Us.20003000
Company4Hb.10005000
Company0Hi.1000400
Company2Hs.15003000
Company6Bc.15003000
Company4Nb.10002000
Company2Fi.100010000

 

 

Allocation Table

 

CompanyCost objectHoursReceiving Company
Company9s.1500500Company2
Company9s.2000400Company4
Company9s.1500600Company 6
Company9s.2000400Company3
Company9s.1500300Company1
Company9s.2000100Company5
Company9s.1500100Company3
Company9s.20008Company1
Company9s.15009Company5
Company9s.2000100Company2
Company9s.1500100Company4
Company9s.2000400Company4

4 Replies

  • amustafa's avatar
    amustafa
    Solution Sage

    Hi Anonymous , can you provide the expected outcome from your sample data? provide clear example on how to calculate the values.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi amustafa 

     

    Example and desired result (example is just for company1), but reasoning should be applied for all companies.

     

  • amustafa's avatar
    amustafa
    Solution Sage

    See the sample file and the desired results in my shared drive.

    Only relationship you have between the two tables are Compnay and Cost Object.

    Cost Allocation

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      hi amustafa 

      thanks for your help, but not really the desired outcome.

       

      Desired outcome is to allocate costs booked on company 9 to all the other companies based on the allocation key. 

       

      So for example we have category A booked on company 9 for an amount of 5000 that needs to be allocated based on the linked allocation key, for category that is S.2000.
      S.2000 allocation is split between 4 companies and the key is as followed between company 1,2,3 and 4 (8/100/400/800). That 5000 should be linked to those companies as below :