Exclude 0 values from Average

How can I exclude zeros from average calcuation?

welcome

what is your grafana version and data source?
where are you calculating the averages

7.2
Data source is tags from PLC.

Data source is a historian CCI Cake

any reason you are still on an 7.2?

what plugin are you using to connect to that data source?