Forum Discussion
Giada90
3 years agoHelper IV
weighted score
Hi, I have an excel like this: type score a 1 b 0.5 c 0.2 d 0 The total value of the question is 0.4, I need to change the value proportionally of 0.4 Which form...
- 3 years ago
Hi Giada90 ,
Based on your description, I have created a simple sample:
Please try:
Measure = var _totalvalue = 0.4 var _sumofscore = CALCULATE(SUM('Table'[score]),ALL('Table')) var _percentage = DIVIDE(SUM('Table'[score]),_sumofscore) return _totalvalue*_percentageFinal output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jianboli-msft
3 years agoCommunity Support
Hi Giada90 ,
Based on your description, I have created a simple sample:
Please try:
Measure =
var _totalvalue = 0.4
var _sumofscore = CALCULATE(SUM('Table'[score]),ALL('Table'))
var _percentage = DIVIDE(SUM('Table'[score]),_sumofscore)
return _totalvalue*_percentage
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.