So, I had to improvise a little when it comes to the query (as well, my vault is obviously different than yours ) but maybe this could give you a lead to follow
…
At least, after creating 3 tests notes and adding a content
key (of type list) to 2 of them…
E.g.:
… I ended up with something looking like this:
… where the content
key for both notes returned by the query are filtered using the keyword
key (of type list again) at the top of the note .
The query I used is this one:
```dataview
TABLE
content AS "Content",
filter(content, (s) => any(containsword(s, this.keyword))) AS "Filtered Content"
WHERE contains(file.name, "Fay") AND file != this.file
SORT file.name ASC
```
This might still require some adjustments but isn’t the Filtered Content
what you were trying to achieve ? (or something similar )