Dataview - Query for table to sort data based on file name

Hi @toalg ,

It looks like maybe you’re trying to filter on the fact that the file is named e.g, “2022-04-12 Ticket Review”. Dataview does capture the date from the title, but not in the date field. Instead it’s in the file.day field.

For example, this query listed all the files in my vault that had a date in the title of yesterday:

```dataview
LIST
WHERE file.day = date(yesterday)
```

image

I hope this helps!

Craig

1 Like