DataviewJS Snippet Showcase

Still trying to get the hang of DataView and DataViewJS is over my head. However, I am struggling to create a simple query of “Incomplete Tasks in the current note”

I want to be able to identify all the tasks in one place that exist in the note I have open - no hardcoded values - just this note.

If this give me all incomplete tasks in all notes:

dv.taskList(dv.pages().file.tasks.where(t => !t.completed))

How do I get only the incomplete tasks in the current note?

1 Like