Things I have tried
I’ve tried reading the dataview doc and searched the forums.
What I’m trying to do
I’m trying to list a field in my dataview table that has [[]] by default (when i create the file in templater) just to help me save time with having to type the brackets every time to link something. So for me, [[]] in this field means blank.
However, in dataview, all [[]] links to the file itself.
**I’m trying to either not display these, or display it as some default null / blank value. So, I only want to display in the column for that field, field values that are not [[]], or i.e. does not link to the file itself. **
When I write:
table filter(file.field, (i) => i != “[[]]”) as field
table filter(file.field, (i) => i != “[[]]”) as field
table filter(file.field, (i) => i != file.link) as field
It always returns null; if i try
table !filter(file.field, (i) => i = this.file.link) as field
And so on… it returns “true” always
(Field is a standin for my field name)
I’ve tried searching and it seems so basic, but I just haven’t been able to find anything about this [[]] link thing. Thanks so much.