Dataviewjs query

What I’m trying to do

I’m trying to show all tasks in specific section of the document

Things I have tried

dv.taskList(
  dv.pages('#tasks')
    .flatMap(page => page.file.tasks.where(t => t.section.subpath == "Not started"))
);

It shows the correct result but also name of the file can you help me to fix it, I only want to see tasks.

Instead of dv.taskList(...), do dv.taskList(... , false). That is add false as the next parameter to turn off the default grouping by file.

1 Like