To use the MAX Function
MAX(
Tag
)
MAX(
Demo-influxdb/DEMO_01TI031.PV
)