Issue using WHERE
Author: sxpphicdanversCreated Sep 24, 2026Updated Sep 24, 2026
Labelsbug
What happened?
Copied and pasted a dataview query from an older vault to my new one and yet the new one doesn't work.
Result in my old vault:
Result in my new one:
This happened to me once before but it just.. magically fixed itself. Everything is set up the exact same way, just the theme is different. The dataview works (obviously not as intended) if I take out the "WHERE" and it return this:
Does anyone know how to fix this?
DQL
TABLE pronouns as "Pronouns", shortdescription as "Description"
FROM #NPC
WHERE location = this.file.link
SORT file.name ascJS
Dataview Version
0.5.68
Obsidian Version
1.13.7
OS
MacOS
Source: blacksmithgu/obsidian-dataview