To use the IFEQUALS Function
IFEQUALS(Tag,Tag,Tag,Tag)
IFEQUALS(Demo-influxdb/DEMO_01TI031.PV,Demo-influxdb/DEMO_01TI031.PV,1,0)