Grafana 7, Zabbix 5, issue with Singlestat Panel

Hi, I have this issue in several templates, receive two values (1 or 2) from the query but can’t hide one of them and count the other.
In this context I want to show the number of up interfaces. Tried to use override and transform tools, but without success.
Thanks for any possible help