Showing incomplete tasks using Dataview in Minimal theme

First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.

What I’m trying to do

I use Kepano’s minimal theme in my Obsidian and use dataview to see all pending tasks from my daily journals.

The following code helps me do that.

TASK
FROM "journal/daily"
WHERE !completed AND regexmatch("^2025", file.name)
GROUP BY file.link
SORT rows.file.ctime DESC
LIMIT 10

This gives me the latest tasks that are not completed yet.

The minimal think allows checklist of various kinds. For instance, I can use these and more:

- [ ]	to-do
- [/]	incomplete
- [x]	done
- [-]	canceled
- [>]	forwarded
...

I particularly like [-] version that lets me see a planned task that is not finished but is off the list. It should not popup up when I use my dataview query to see tasks to do which is not the same as tasks remaining.

There are tasks that are remaining but are no longer relevant. Or I at times, wish to use other completed types of checklist as shown in the above examples to show importance of task or celebrate when it is done using a Star instead of regular checkmark.

Is there anyway, I can only consider [ ] as empty and all others as completed?

Things I have tried

I don’t know how to address this issue. So, I have not tried many things.

TIA.

In your WHERE command, change !completed to !checked.

(Info about implicit fields for tasks: Metadata on Tasks and Lists - Dataview)

You can also filter by status. E.g.,

WHERE (status = ">" OR status = "/") AND regexmatch("^2025", file.name)

… to see your tasks that are marked incomplete or forwarded.

1 Like

Oh! Thank you so much. !checked solves it. Bless you.

1 Like