Convert field type transformation bugging

Hi,

I put 3 stats on my dashboard with all 3 different values displaying them. For some reason all 3 stats bug out and switch to one datapoint in the “Convert field type” transformation.

this is my query:

from(bucket: "${bucket}")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "MyMeasurement")

how can this happen?

Sorry, I don’t get it… :face_with_monocle:

This is an example of what is happening:

I put 2 stat panels on my dashboard (1 added manual and the other copied from the original one). They both have the same query (doesn’t matter for this issue i noticed):

from(bucket: "${bucket}")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "MyMeasurement")

I transform one field to “number” with the “Convert field type” transformation. 2 different fields for each stat. For some reason when i refresh the dashboard, the second stat fills in the field from the first stat into the “Convert field type” transformation. This causes both stats to display the exact same thing.

When narrowing down my query to a specific field, this still happens:

from(bucket: "${bucket}")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "MyMeasurement")
  |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
  |> keep(columns: ["_time", "MyField"])

Inside the transformation, it will then also display that the field could not be found.