Get all tasks from file name containing text or metadata property value

Pull last week’s tasks into current week using dataview to leverage metadata field or file name contains

There seems to be a lot of need to pull tasks containing specific text or using a file tag. I’d like to just use a metadata value.

Things I have tried

I’ve gone back and forth between dataview and dataviewjs but not sure where I’m going wrong.

dv.taskList(dv.pages.title.contains('W21').file.tasks .where(t=> !t.completed))

This option below only works on current file:

Task 
WHERE !completed AND contains(week, "W21")

So I guess the big question what is needed to have dataview to look at a specific file base on it’s file name or metadata, and do I need to tell it what folder to look in for weekly notes?

Please tell us a little more like what are your file names, and is the week stored in a property or not?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.