Thanks a lot, it’s helping me a lot.
I do not understand the added value of the data() as function, that’s the first time than I see this kind of ‘step’. I will take time during week-end to get info about it
One added question
In the future, I will need to use the result, to calculate the gap value between min and max.
I have added the line pivot on measurement result by date
pivot(rowKey:[“_time”], columnKey: [“_measurement”], valueColumn: “_value”)
How can I group min and max value of all the measurements by date to be able in the future to calculate the difference/gap between min and max using map() function.