Forum Discussion
MP_123
9 years agoMicrosoft Employee
sumx question
hi,
i want to create a weighted average as below image
the most left is the numirator , and the most right is the denominator.
i want to create: 5316278/1+314443/2
the result for each row is correct, but the total is just sum of both divded by two, why is that?
this is the measure:
WeeklySumAVGPerWeek =
WeeklySumAVGPerWeek = sumx(AggregatedWeeklyNewCoverageAllExpsView,DIVIDE(AggregatedWeeklyNewCoverageAllExpsView[WeeklySumPre],DISTINCTCOUNT(AggregatedWeeklyNewCoverageAllExpsView[TargetDate])))
thanks!
11 Replies
- Phil_SeamarkMicrosoft Employee