via DV I can flatten a list (table) to output eyery person:
Things I have tried
```dataview
TABLE WITHOUT ID
assigned + " (" + length(rows.file.link) +")" AS Asgd
FROM ""
WHERE assigned
FLATTEN assigned
Group by assigned
SORT length(rows.file.link) DESC
```
but how can I achieve this in TEMPLATER via the suggester command, so that I only get a list of the assigned ones, and most of all: only one person per row?
This thing seems a bit more difficult than reading in a list of files…
@rigmarole Thanks for following up. Rather than edit the title
oh, yes of course, thats why there is no solution in edit…
thank you for the hint.
edit
well, I figured it out over discord, but maybe someone else will find it helpful and I can also do something good for a change
```
const people = (await app.plugins.getPlugin("dataview").api.tryQuery(`
TABLE
assigned AS M
FROM "Projects"
WHERE assigned
FLATTEN assigned
Group by assigned
SORT length(rows.file.link) DESC
`)).values
const selectedPerson = await tp.system.suggester(item => item, people, true, "Placeholder...")
```