Forum Discussion
LeviCaers
8 years agoFrequent Visitor
AVERAGEX not working properly
Hi
I need to create a table that contains the average score per question, so for identical questions it should give the same average value.
I have tried the following statements
AveragePillarScore = AVERAGEX(Questions,Result[Score]) AveragePillarScore = CALCULATE( AVERAGEX( FILTER( Result, Result[Question]= Result[Question]),Result[Score]))
But these both give the individual score.
Anyone expert out there that can correct my formula?
Cheers
Hi LeviCaers
You may use EARLIER Function to create a column.
Column = AVERAGEX ( FILTER ( Table2, Table2[question] = EARLIER ( Table2[question] ) ), Table2[Score] )Regards,
Cherie
1 Reply
- v-cherch-msft
Microsoft Employee
Hi LeviCaers
You may use EARLIER Function to create a column.
Column = AVERAGEX ( FILTER ( Table2, Table2[question] = EARLIER ( Table2[question] ) ), Table2[Score] )Regards,
Cherie