Previously the following query used to give proper result but now it’s returning either error or ‘No result’ both within Grafana &/or Chronograf.
from(bucket: “L_OEEA_COMPACT”)
|> range(start: dashboardTime)
|> filter(fn: (r) => r[“_measurement”] == “RT_Dashboard”)
|> filter(fn: (r) => r[“_field”] == “StationID” or r[“_field”] == “Performance”)
|> pivot(rowKey: [“_time”], columnKey: [“_field”], valueColumn: “_value”)
|> map(fn: (r) => ({ r with _value: r.Performance }))
> filter(fn: (r) => r.StationID == 1) |
---|
How to solve this?? any ideas guys?