@pavanvora Flux will return each field in separate tables because InfluxDB returns data group by series, and the field key is part of the series key. There are a few ways you can do accomplish what you’re trying to do that are outlined in this similar thread: InfluxQL to new task FLUX with resample and group
scott
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to apply different aggregation functions to different fields from a query | 7 | 791 | May 16, 2024 | |
| Is it possible to use aggregateWindow() with different functions? | 1 | 1322 | February 3, 2022 | |
| Issue with aggregateWindow sum function | 1 | 606 | May 2, 2021 | |
| Flux window or aggregatewindow versus v1 group by | 3 | 696 | December 20, 2022 | |
| Flux query returns multiple values on aggregate window larger/equal then time period | 1 | 1144 | August 25, 2021 |
