Problem with Dataview not filtering to specified date

What I’m trying to do

I’m using Journals add-on with multiple journal (general one, workout log, language learning log). I wanted to automate linking between them with dataview. Journals mark the files with with journal field to assign the journal and journal-start-date and journal-end-date to mark the time

I came up with this code, but it doesn’t show the other notes from the same day

list 
FROM "01_LOGS"
where contains(journal-start-date,2024-09-16) and journal != "life"

Things I have tried

I run this script without the start date parameter, or with != for the date and it showed me all the notes that it should have.
I must be doing an error with the format of the date somewhere, and would appreciate help.

Symilar code, for the monthly sum up of my gratitude journal

list gratitude
from "01_LOGS/01_life/daily"
where gratitude and journal-start-date.month = 09

works ok

1 Like

Don’t know the Journal add-on, but does the query below work in your vault?

```dataview
list 
FROM "01_LOGS"
WHERE contains(journal-start-date, date(2024-09-16))
AND journal != "life"
```

You’re a godsend. Thank you for your help.

1 Like

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