An issue has been noticed with virtual attributes in a custom object, whose master object is the Investment object. Steps to reproduce it are as below.
This behaviour has been reported to Product Management through DE64779.
A decision was made to not fix DE64779. Even though the UI allows this configuration, the code to support it in the backend was never implemented. There are no plans to support it in the Roadmap either.
It is recommended that a Portlet be used to view fields in a single view, or the Hierarchies in the Modern UX.