Skip to content

Help with query #3543

Answered by claremacrae
arcegabriel asked this question in Q&A
Jul 23, 2025 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Looking at the documentation, I see that I have previously identified two possible approaches:

https://publish.obsidian.md/tasks/Getting+Started/Obsidian+Properties#Use+%60+project%2F...%60+tag+values

There are links in that section to explanations of the language features used - though I appreciate they may need some programming background to understand.

Again, you will need to remove the hard-coded file name from these examples.

Option 1 - works for file 5 but not 6

Change this:

filter by function task.file.property('up').join(',').includes('APAC Support Program')

to this:

filter by function task.file.property('up')?.join(',').includes('APAC Support Program') ?? false

Option 2 - works…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@arcegabriel
Comment options

@claremacrae
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@claremacrae
Comment options

@arcegabriel
Comment options

@claremacrae
Comment options

Answer selected by arcegabriel
@arcegabriel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: filters Additions and modifications to the search filters scope: scripting Issues to do with custom filters, custom sorting and similar scope: frontmatter Anything to do with YAML frontmatter, also known as Obsidian properties
2 participants