I am trying to create an MOC for my daily notes and I have three dataview tables, one that shows the current week’s pages, one that shows the current month (not including the current week pages), and general archive that contains pages that are not in the current week and month.
I had two questions. Can I make the dataview automatically process the current weeks and months, or do I have to go in weekly/monthy to change the week number and Month in the code? Second, In my month view I put in !contains(week, 38)
but it does not remove those notes with that value in their YAML. Same happens in the archive, but the !contains(month, "September")
works so it does not display the notes from week 38 because they are also in September.
Here is what each dataview block looks like and what they are outputting.
TABLE date as Date, dayofweek as "Day of Week", week as Week, month as Month, year as Year From "00 - Inbox/Daily Notes" WHERE contains(type, [[Daily Notes]]) WHERE contains(week, 38) Sort date desc
TABLE date as Date, dayofweek as "Day of Week", week as Week, month as Month, year as Year From "00 - Inbox/Daily Notes" WHERE contains(month, "September") and !contains(week, "38") Sort date desc
TABLE date as Date, dayofweek as "Day of Week", week as Week, month as Month, year as Year From "00 - Inbox/Daily Notes" WHERE contains(type, [[Daily Notes]]) AND !contains(month, "September") AND !contains(week, "38") Sort date desc
(as mentioned above, this correctly shows nothing because I do not have any notes that are not from September, but if I remove the
!contains(month, "September)
it will show my notes because the !contains(week, 38)
does not seem to work.
Thanks so much!