Newbie question - How display timestamp of a specific selector (min, max) in a singlestat panel?

Hello to everyone,
I’m trying to display in a singlestat panel WHEN a peak is reached (min or max).

For example: in OpenHab I’m monitoring the external temperature and I would like to get when was the coldest or the hottest day in a specified time interval.

In the query I’ve used the right selector (min or max), but the singlestat panel can only display the Time of last point.

How can I accomplish this?

Grafana + InfluxDB + OpenHab

Thank you!

You influxdb query needs to only select the max data point