title: Show Timestamp of first Occurence
body: <p>I have a db of hydrological data.</p>
  <p>I wrote a cell in the influxdata panel to find the first occurrence where the measurement is above <code>17°</code>.</p>
  <p><a href="https://i.stack.imgur.com/75cch.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/75cch.jpg" alt="enter image description here" /></a></p>
  <p>But now I don't want to display the value but the timestamp in the cell when the first occurence was:</p>
  <pre><code>from(bucket: &quot;hydroAPI&quot;)
    |&gt; range(start: v.timeRangeStart, stop: v.timeRangeStop)
    |&gt; filter(fn: (r) =&gt; r[&quot;_measurement&quot;] == &quot;hydro&quot;)
    |&gt; filter(fn: (r) =&gt; r[&quot;_field&quot;] == &quot;temperature&quot;)
    |&gt; filter(fn: (r) =&gt; r[&quot;loc&quot;] == &quot;XXXX&quot;)
    |&gt; aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
    |&gt; filter(fn: (r) =&gt; r._value &gt; 17 )
    |&gt; first()
    |&gt; yield(name: &quot;mean&quot;)
  </code></pre>
  <p>This code is working, but it shows just the value. I want to see the time. Is this possible?</p>