I’m trying to get a list of tasks with Dataview, associated with a value.
My problem is that I don’t like the name of the note about the tasks to appear.
This is my query:
task where (accion = "@Recados")
Option ‘whithout Id’ doesn’t work for task
Is there a way to do this?
Thanks
Hi.
By default tasks are grouped by file.
You can group them by another data. For example GROUP BY accion (tasks grouped by different values in accion)
But if you don’t want any group and a title like “Tasks” you can use a false group:
```dataview
TASK
WHERE accion = "@Recados"
GROUP BY "Tasks" AS abcd
```
But if you don’t want any title:
```dataview
TASK
WHERE accion = "@Recados"
GROUP BY "" AS abcd
```
Great !
Thank you very much, that solves the problem, if I could hide the text “accion @Recados” of each line, the better, but it works perfectly well.
There is not a direct way to remove part of the task content (because [accion:: @Recados] is part of task text). Maybe with regex, but I don’t know how. But you can hide the key “accion” if you use the syntax (key:: value) instead of [key:: value], i.e., changing the brackets.