Unfortunately, there is no aggregation type of "next to last," etc. Only
last.

You would have to write your own search list extension.

-tk

On Wed, Aug 21, 2019 at 9:01 AM Mikael Fredriksson <[email protected]>
wrote:

> Hi.
>
> Can't figure it out!
>
> How can I get the second last, third last and so on from my weewx.sdb?
>
>  <td>$year.avg_distance.last</td>
>
> This gives me the last value.
>
> Thanks, Micael
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/b377d917-4c78-48c7-9233-054200bf3e03%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zECHWVwsj3ONtS%3DeEKB76J2EXo3Bdi1fxAebKgK14LrX8A%40mail.gmail.com.

Reply via email to