Exclude data points from average

Hi,

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 ?

Thanks
Niraj

In the Axes option , select min value as 1 for Y axes

Hello Niraj, I want to ask you if you solved your problem last year april to execute a python script through Grafana?
This post here: Execute Python script From Grafana Dashboard
Doesnt seem like there is a message option here, so sorry to do it like that.
Greetings