How can I fix this - error parsing query: found -, expected ; at line 1, char 21

Hello,

This database is working very nicely in Grafana, but when I go to the DB in Influx to look at the data I can’t and get this error, any ideas what I can do to fix?

r/influxdb - How can I fix this - error parsing query: found -, expected ; at line 1, char 21

This is the PowerShell script that I use to populate the DB and it all works in Grafana I just can view anything when use Influx as I need to check the data.

I’m guessing it’s my scripts

Influx DB 1.8

Thanks

Wrap citrix-stats in quotes. InfluxQL considers hyphens a special character, so measurement names with hyphens need to be quoted.

select * from "citrix-stats"