The Dataview above is really useful and I’ve used it as the basis for the following, used to give me a count of overdue tasks (in this case, incomplete tasks from my daily files):
`$=dv.pages('"Journal"').where(p => p.file.day && p.file.day <= (luxon.DateTime.now().minus({days: 1}))).file.tasks.where(t => !t.completed).length`
I’m trying to create something similar: a count of tasks from Today’s daily file (named in the format YYYY-MM-DD) but for the life of me can’t figure out!
Can anyone help?