if L1 value for h1 is 12 and l1 value for h2 is 14, i’d like to get 26 as query result
And to be complete, if I could divide this value by 10 it will be perfect.
You need to get the h1 and h2 on the same row in order to do a calculation involving both of them. To do this, use the pivot() function. Then you can use the map() function to do your desired calculation.
Here’s an example with my data which contains Outdoor Temperature and Humidity:
Sorry for this long reply, to much work and welcome holidays
Thanks you for this example, it was perfect for me to do what I want. I have one last question, How can I change this query so it returns only the calculated field (HumidityTimesTemperature in your example).