I’ve a note template that includes a property called Ämne:
Ämne:
- "[[Artificiell intelligens]]"
- "[[Juridik]]"
I’m trying to create a query to list all instances of the inline field t from files with Juridik as value for Ämne:
TABLE t AS Tanke
FROM "05 Källor"
WHERE contains(Ämne, "[[Juridik]]")
But this query returns an empty table. Why?
1 Like
Guapa
2
Could you try this syntax:
```dataview
TABLE t AS Tanke
FROM "05 Källor"
WHERE contains(Ämne, [[Juridik]])
```
1 Like
Thanks! I thought I already had tried all variants – but apparently not! 
1 Like
holroy
4
Alternatively, you could also use contains(Ämne, link("Juridik"))
system
Closed
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.