Forum Discussion
Atif
7 years agoResolver I
Average
The columns that I have as raw data are (a) KPIs, (b) Indicator, (c) Weightage, (d) Past Performance, (e) Target, (f) Actual Result, (g) Assessee, and (h) Assessor. The different tables are later clu...
- 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))
Iamnvt
7 years agoContinued Contributor
oh, sorry, I forgot something.
how about this:
Sum of Average = AVERAGEX(VALUES('All'[Assessee]), CALCULATE(SUM('All'[Score])))
Atif
7 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])
RETURN
IF(HASONEVALUE('All'[KPIs]),
AvgScore,
SUMX(VALUES('All'[KPIs]), AvgScore))