Forum Discussion
datadelta
Helper III
3 years agoHow do I remove "zero" or null responses from my graph?
I have a data set that has a number of zeros and/or nulls as responses to questions. When charting out the averages, I'm trying to eliminate the zeros from that average. Despite having put the filt...
- 3 years ago
Hi datadelta
Try to use this Dax formula for your measureAvg percentage= CALCULATE( AVERAGE(TableName[your column]), FILTER(TableName, TableName[your column] <> 0 ))
Link to sample file
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ritaf1983
Super User
3 years agoHi datadelta
Try to use this Dax formula for your measure
Avg percentage= CALCULATE( AVERAGE(TableName[your column]), FILTER(TableName, TableName[your column] <> 0 ))
Link to sample file
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.