```dataview
list task where contains(task, [[]])
```
then you will have a list like this (all items are links to the notes):
- Activity 1
- task A
- task B
- task C
- Activity 2
- task X
- task Y
- task B
- task Z
This is useful to see the entanglement of the tasks in the activities. Task B is depend on the complement of task A, X and Y, and is the input for C and Z. If there is a way to emphasize B in the lists, then it would be great.
It took a while to find the solution, but I think this works:
list map(task, (t) => choice(t = [[]], "**" + t + "**", t))
WHERE contains(task, [[]])
@efemkay this case is more complicated because in the discord solution the target is the file.link (a single value) and in the case the target is a specific value inside an array of multiple values.