<aside> <img src="/icons/hexagon-five-sixths_gray.svg" alt="/icons/hexagon-five-sixths_gray.svg" width="40px" /> At this level, we add a Stats page with your current and longest streak for each habit.

To achieve this, every habit page must be related to the same Stats page in the Stats database. We use a Relation property, along with a recurring template and filter, to do this automatically.

I’ve turned off the Repeat setting for the @Today template in this database so it doesn’t spawn hundreds of pages over time. You can easily enable it in your copy once you’ve duplicated the template. See my reference on repeating database templates if you need instructions!

Habits

Habits (Robust Stats)

Stats

Stats