Forum Discussion
Average
- 7 years ago
oh, sorry, I forgot something.
how about this:
Sum of Average = AVERAGEX(VALUES('All'[Assessee]), CALCULATE(SUM('All'[Score])))
- 7 years ago
Really appreciated @lamnvt.
Your measure is much simpler and most importantly is giving the desired result.
Just minutes ago I got the solution by using the following measure.
Average =VAR AvgScore = AVERAGE('All'[Score])RETURNIF(HASONEVALUE('All'[KPIs]),AvgScore,SUMX(VALUES('All'[KPIs]), AvgScore))
hi,
you can try the following:
Sum of Average = AVERAGEX(VALUES('All'[Assessee]), 'All'[Score])
Hi there Iamnvt ,
Sum of Average = AVERAGEX(VALUES('All'[Assessee]), 'All'[Score]) can't be done.
The syntax is "table" and then "expression".
- Iamnvt7 years agoContinued Contributor
oh, sorry, I forgot something.
how about this:
Sum of Average = AVERAGEX(VALUES('All'[Assessee]), CALCULATE(SUM('All'[Score])))
- Atif7 years agoResolver I
Really appreciated @lamnvt.
Your measure is much simpler and most importantly is giving the desired result.
Just minutes ago I got the solution by using the following measure.
Average =VAR AvgScore = AVERAGE('All'[Score])RETURNIF(HASONEVALUE('All'[KPIs]),AvgScore,SUMX(VALUES('All'[KPIs]), AvgScore))