Exclude data points from average


I am using Grafana to visualize the data and our data source is Elasticsearch.
We collect data in every 5mins and upload it on ELK. Is there any way in Grafana to ignore data points (where value is 0) to calculate the Average

Like in attached snapshot I want to exclude the point where value is zero from Average calculation.

Can someone help me on this here ?