To use the TOLTALISE Function 

TOLTALISE(Tag,Window_Size,TimeStamp,Rate_Unit)

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