That works! But now I’m having a problem I’d had earlier, that notes with multiple authors show up multiple times, one with each of the authors. See this thread for that issue: Dataview: link(A, B), causes two "cards" if "A" has two values - #2 by holroy
From the query I posted here I had left out the flag bit because that’s add quite a bit of length. Part of it would look like this:
FLATTEN
join( map( choice(typeof(Country) = "array", Country, list(Country)),
(c) => link(
meta(c).path,
{ NO: "🇳🇴", US: "🇺🇸", GB: "🇬🇧"}[meta(c).display]
)), ", ") as Q_Country
But can I just adapt that for the Author/Director field?