Display, sort and filter one related record in another Record List

I have four tables; Event, Parish, Parish Profile and Parish Event.

  1. Event holds all possible events a parish can sign up for.  It has a unique key of Evemt_ID and fields Event (name of the event) and Start_Date
  2. Parish holds Parish data and has a unique key of Parish_ID.
  3. Parish Profile holds some additional information about what type of speaker they would like at their event.  Not every Parish has a Parish Profile.
  4. Parish Event hold the history of all the events a Parish has signed up for.  Not all Parishes with a profile sign up for all events.  Some chose to participate last year, but not this year. It has a unique key of Paris_Event_ID and foreign keys, Event_ID and Parish_ID.

I want to display in the Parish Profile Record List the latest Event the Parish signed up for.

I currently use an expression rule to display this value in the column.

However, i can't sort and the filter i wrote pulls all Parish Profiles with that has the event in its relationship.  in other words, if a parish participated in the 2024 and 2025 events, the profile will show in the list if i filter for 2024.

I tried to create a custom field, but evidently you can't use a one to many relationship.

I tried to create a view in the DB and a CDT that points to the view and a record type that points to the CDT, but you can't create a relationship to a record type that points to a CDT.

Any help or direction would be most appreciated.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data