Help with querying several fields from the same point

I need help with Flux in InfluxDB 2.0.
I need my query to group fields in just one point, when timestamp is the same. In the example below, I would like it to return just one point line with all its fields and not separately. How would the query be? Thank you!

image

Look at the Flux group() function, specifically I think you can group by device_id although the second table has some odd quoting around the device id that may cause trouble.

1 Like