ArcGIS Pro 3.2.1; Oracle 18c:
Background:
I have a ROLL_UP table that has a COMPOSITE_ID field.

And I have a PROJECTS table:

I want to do a relate from the ROLL_UP table to the PROJECTS table via the COMPOSITE_ID field.
Since PROJECTS doesn't have a COMPOSITE_ID field, I need to create one by concatenating EVENT_STATUS and YEAR_CON.
- Ideally, I'd use a mechanism like Virtual Attributes. But that functionality doesn't exist.
- I don't want to use a calculation attribute rule because I don't want to clutter up the table with an additional permanent field — just for this one data analysis task. Also, the table is locked.
- I need to edit the data in PROJECTS. So query layers and database views aren’t suitable, at least not on their own.
- So instead, I'll create a query layer and join from the PROJECTS table to the query layer.
Create a query layer on PROJECTS:
select
objectid,
event_status||year_con as composite_id
from
projects
Join from PROJECTS to the query layer via the common OBJECITD fields.

Now, I have a calculated COMPOSITE_ID field in PROJECTS.

Idea:
I want to do a relate from the ROLLUP table to the PROJECTS table (and the query layer) — using the common COMPOSITE_ID fields.

I can create the relate without errors.
However, the relate doesn't work as expected. If I select a record in ROLL_UP and use Related Data to select the related records in PROJECTS, then no related records in PROJECTS get selected.


Whereas, I don't have that problem if I export PROJECTS (and the joined query layer field) to a static table called PROJECTS_STATIC_EXPORT. And then do the relate from ROLL_UP to PROJECTS_STATIC_EXPORT. The relate works without issue, proving that the logic is sound.
But I don't want to create a copy/export of PROJECTS. I want to use live PROJECTS data, including editing the data.
Video:
Could ArcGIS Pro be enhanced so that we can relate from a table to a table joined to query layer?
Similar post: Relate using multiple fields