Forum Discussion
Average Issue
- 8 years ago
That 25.71% looks to be an average of the individual percentages - it's nothing to do with taking into account (or otherwise) the rows where nobody's sick. The original measure posted in reply should work absolutely fine, and I'm thinking it's something to do with how the visual is interpreting the totals row
edit - just put in the data you listed and the measure listed and it works correctly out of the box:
Thank you for responding but it doesn't work, as in Power BI the measure needs to be aggregated,
If you choose Average, it will still take the 0% rows into account. Other aggregation types, as far as I can see are pointless
If you choose Don't Summarize my report is ungrouped which is not an option.
That 25.71% looks to be an average of the individual percentages - it's nothing to do with taking into account (or otherwise) the rows where nobody's sick. The original measure posted in reply should work absolutely fine, and I'm thinking it's something to do with how the visual is interpreting the totals row
edit - just put in the data you listed and the measure listed and it works correctly out of the box: