Retrieving a second field in the same query #1832
Unanswered
JustinThomason
asked this question in
Q&A
Replies: 1 comment
-
Can you share some example output? You can reference another page's fields like so |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I hope I can coherently explain what I'm trying to achieve.
I'm working on a vault with a bunch of cross-referenced metadata, and I'm trying to leverage Dataview as much as I possibly can. One particular Dataview query is giving me problems. I have files for Places that include pertinent Persons associated with that Place in the front matter.
ex.: Place 1
Each Person has an Occupation noted in their file's front matter.
ex.: Person 1
I can get the concatenated names of Persons associated to a Place as links using a query like
=join(link(this.people),"; ")
which outputs each Person's name as a link back to their file followed by a semicolon and then the next Person's link.What I would like would be to have an inline query that would concatenate each Person's name (as a link) followed by their Occupation (not a link) queried from the Person's file, followed by the next Person with their Occupation and so on.
i.e., [[Person 1]] Occupation 1; [[Person 2]] Occupation 2
I feel like there ought to be a way to do that, but I cannot figure out how.
Beta Was this translation helpful? Give feedback.
All reactions