How can I run aggregateWindow function where fn param can have different value for different field?

@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