To use the NOBAD Function 

NOBAD(Tag)

NOBAD(Demo-influxdb/DEMO_01TI031.PV)