4 Replies Latest reply: Oct 9, 2016 3:32 PM by Marius August Larsen RSS

    help with expression "degreeday"

    Marius August Larsen

      Hello

       

      i have a dimension, "Temperature" °C that shows each temp pr hour. i need to calculate something called "degreeday".

       

      Can somebody help me with this:

       

      if average day temperature >=17 then show 0.

      AVG day temperature - 17 = "degreeday"

       

      exsample: if the average day temperature was -5 °C, then the degreeday will be 21

      if the avreage day temperature was 4 °C, then the degreeday will be 13.