Forum Discussion
Average calculation
- 4 years ago
That's really odd.
can you create a new test measure same as above but without the difference.
Test Measure VAR AverageAllClasses = CALCULATE ( [Average by Class], REMOVEFILTERS() ) RETURN AverageAllClassesDrop that into matrix as well and send results.
bcdobbs Thanks sir. The card is showing
Actually I am trying to add a column which will provide me the difference between average score by class & average of that class. I need a measure for the same.
Can you pls help me with the same which will provide me difference bewteen Average score of specific Class & verage score by Class
Avg Difference =
VAR AverageAllClasses =
CALCULATE (
[Average by Class],
REMOVEFILTERS()
)
RETURN [Average by Class] - AverageAllClasses
Try this.
Add a matrix visual with classes on the rows and drop this into the values.
- harshadrokade4 years agoPost Partisan
THanks bcdobbs Sir.
I tried this but it is giving me wrong values as below-
The correct difference values after I manually deduct the average of class from average by class is as below.
- bcdobbs4 years agoCommunity Champion
Can you drop average by class into the visual and also into a card and send screen shot?
(Or better send your pbix file)
- harshadrokade4 years agoPost Partisan
HI bcdobbs
This is how it looks in table visual & also in card visual. I can't send pbix file as the organisation doesn;t allow uploads.. Thanks in advance.