Forum Discussion
novotnajk
Resolver I
5 years agoAverage Score Excluding Zero
Yet another request (Sorry PBI Forum!) See table below. I'm trying to find out the average quality score that excludes zeros (because they bring down the average). Any help? Ignore the # of Me...
- 5 years ago
Hi,
Assuming Quality score is a measure, try this measure
=if(hasonevalue(data[provider name]),[quality score],calculate([quality score],filter(values(data[provider name]),[quality score]>0)))
Hope this helps.
- 5 years ago
That worked! Thanks!
Ashish_Mathur
Super User
5 years agoHi,
Assuming Quality score is a measure, try this measure
=if(hasonevalue(data[provider name]),[quality score],calculate([quality score],filter(values(data[provider name]),[quality score]>0)))
Hope this helps.
- novotnajk5 years ago
Resolver I
That worked! Thanks!
- Ashish_Mathur5 years ago
Super User
You are welcome.