How to distinguish tasks with special marks like [>]?

Hello everyone, I use [ ] to indicate general tasks, and use [>] to mark tasks that will be done a long time later. Like this

- [ ] task1
- [>] future task2

Now I want to show them separately, I tried dataview like this

TASK 
WHERE !completed
	and !contains(text, "[>]")

to show general task exclude future task. But it doesn’t work.

I found that it may be because the text field only contains the part that can be displayed. For example, text of - [ ] task1 is task1.

What is the field name for dataview to get the entire line string?

Thanks.

To get the custom part within the square brackets, use status, so your query would typically look like:

```dataview 
TASK 
WHERE status = ">"
```

Or if you were looking for multiple custom statuses:

```dataview 
TASK 
WHERE contains(list(">", "<", "/"), status)
```
2 Likes

Thanks! You helped me a lot!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.