To use the add Function 

IFEQUALS(Tag,Tag,Tag,Tag)

SUB(Demo-influxdb/DEMO_01TI031.PV,Demo-influxdb/DEMO_01TI031.PV,1,0)