Skip to content
Discussion options

You must be logged in to vote

A few things:

  1. file.day - date is a date computation that returns a duration, not a number
  2. I'm not sure what date is.

I would write the query like this, assuming you have annotated the weekly note with the week it's from (like 2021-08-07 week or a Date:: inline field):

TABLE file.cday AS Created, Summary FROM "6 Daily"
WHERE file.day <= this.file.day AND file.day >= this.file.day - dur(7 days)
SORT file.mday ASC

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by M-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants