cancel
Showing results for 
Search instead for 
Did you mean: 

Weighted average based on a reference measure

former_member687521
Discoverer
0 Kudos

Hi,

I need to break-up the Sales data (Planned ) based on quantity (Actual) in the proportion using a data action. User enters a Sales value at Prod.Hier4 level and the value has to split based the weighted average of Actual Quantity to product level . Please let me know,how we can achieve this. Please check the screen shot for better understanding.

Thanks

SV

Accepted Solutions (0)

Answers (2)

Answers (2)

N1kh1l
Active Contributor
William_Yu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Some hints on script:

  1. user create VIRTUALMEMBER for product: #ALLPROD
  2. Collect total quantity for all produc into #ALLPROD
  3. sales * quantity per prod / #ALLPROD