this post was submitted on 27 Sep 2023
5 points (100.0% liked)
ObsidianMD
4166 readers
1 users here now
Unofficial Lemmy community for https://obsidian.md
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Assuming a key akin to "deadline", you could use or adapt the following:
Or work with note creation date:
WHERE dateformat(file.date, "yyyy-MM-dd") <= dateformat(date(today), "yyyy-MM-dd")
Instead of "today" use "this.file.name" when working with daily notes as in your case.
To have the list be divided into completed and unfinished, skip the "!completed" and instead use:
Add DESC to reverse order.
Another option would be to have two separate dataview queries. One for completed and one for unfinished tasks.
Great! Thanks. That did it