Dataview Tasks from nearest (Monday) File

I do my weekly planning in a folder/file that I create on Monday: weekly/2020-04-18 Weekly Planning.md

I’d like to pull in the tasks from that file in my daily note. Is there a way to include the “last Monday” as a part of the FROM file name query?

Not sure if this is the approach, but I see a literal in the docs for date(sow) to generate the “Start of Week.” Would I somehow use this in my dataview query? Or is there a better way to do this?

Thanks!

i’ll tag #dataview so that experts can chip in. here’s my take to your use case. change the FROM to reflect your appropriate daily notes folder

```dataview
LIST
FROM "dailynotes"
WHERE dateformat(date(file.name),"cccc") = "Monday"
SORT file.name DESC
LIMIT 1
```

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