To use the SUB Function 

SUB(Tag,Tag,Tag)

SUB(Demo-influxdb/DEMO_01TI031.PV,Demo-influxdb/DEMO_01TI032.PV,Demo-influxdb/DEMO_01TI021.PV)