Hi everyone. I have a query that runs a search on uncpmpleted tasks in several areas and what I want it to do is to show me all incomplete tasks EXCEPT from the current daily note. I have this:
TASK FROM “”
WHERE !completed AND file.name != date(today)
The problem is that it IS returning values from the current daily note (yyyy-mm-dd)
I think that in TASK queries the command WHERE is focused in the TASK filters, not in PAGES (files). I didn’t found this in plugin documentation, but I found a way: you need to add “file” before any field (implicit fields too).
Try this:
```dataview
TASK
FROM ""
WHERE !completed AND file.file.name != this.file.name
```