Hello Everyone!
I'm currently working on developing a model-driven app using Dataverse virtual tables, all of which originate from the same Azure SQL database. I'm facing challenges in establishing N:N relationships between the two entities mentioned below (Food and Person).
I'm wondering if it's indeed feasible to create N:N relationships between two virtual tables (both originating from the same SQL database data source - Food and Person), where the intersect table is also a virtual table?
When a user accesses a 'Person Table' record, it's essential that they can associate it with 'Food records (via subgrid) through N:N relationships. Any updates made to this association should be reflected in the intersect/junction table.
Here are the steps I've taken:
Created a 1:N relationship between Food and the intersect table.
Created a 1:N relationship between Person and the intersect table.
The intersect table has a lookup field for the relationship.
However, I'm still unable to create an N:N relationship between Food and Person for me to be able to create the subgrid. Has anyone encountered a similar scenario and successfully achieved this, or do you have any insights or suggestions?


Cheers