Hi.
The problem is: tags are a page level metadata, not a specific task metadata.
The result is correct, because you are asking for tasks in pages(notes/files) with the tag #priority.
If you want a specific filter for your tasks you have two ways (at least…):
- You can use your tags but you need to filter them as a content inside the text of the tasks (because the content of the task is an implicit field). Something like: "tasks where the task text contains '#priority`):
```dataview
TASK
FROM -"Templates"
WHERE contains(text, "#priority")
```
- If you don’t want to use tags, you can create an inline field (inline fields in tasks working only at task level)…
### Checklist
- [ ] Check 1
- [ ] Check 2
- [ ] Check 3 (priority:: high)
---
```dataview
TASK
WHERE priority = "high"
```