How to show food allergies for people attending an event, using dataview?

What I’m trying to do

Pretty much the title. For people, I have a field “food_allergies” and just have a sentence detailing their food allergies.

On an events page, I have “principal_people” that will be at an event that may be consuming foods.

Things I have tried

I’ve tried to Google how to pull in an attribute from other pages based on a list/array from the current page. I’m new to this. And don’t know what terms to search for.

I have been able to generate a list of events a person has attended on their individual pages, so I’m leaning and progressing.

I am using dataview and love the SQL like statements.

On the event note, use this query:

```dataview
TABLE food_allergies
FROM outgoing([[]])
```

This will provide a table of each person and their allergies. This query assumes that your event page has link to each person attending.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.