Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Canvas App Relationships

Hi Everyone,


I'm really struggling with pulling data across a relationship in a canvas app and am hoping someone can help me. 


I have two tables (at least just the two right now) - Approval and Placement. In the Approval Field is a columns labelled 'Regarding' which appears to have multiple relationships across multiple tables - including the Placement table. Following a video from PowerApps911 here: 


Canvas Apps: CDS Gallery Items, Related Entities, Formatting Currency. - YouTube


My first thought was to look for the field in the field list, but the 'Regarding' field isn't list and nor are any of the fields in the related table. After doing some digging in the community I came across a similar post that led me here: 


Understand record references and polymorphic lookups in canvas apps - Power Apps | Microsoft Docs


And looking at the number of tables that are related via the 'Regarding' column it looked like polymorphic lookups might be the way to go, but if I add the formula : 


If( IsType( ThisItem.Regarding, Placements ),
"Placement: " & AsType( ThisItem.Regarding, Placements ).'PlacementID', "Not Linked")


All the items in my gallery are listed as 'Not Linked' so I must be missing something. 


Can anyone help point me in the right direction for this? I'll need to traverse relationships across quite a few tables so if I can't get past this point I'm pretty stuck.


Thanks in advance!

Community Champion
Community Champion

You might also want to try posting to the Dataverse subsection as well (Microsoft Dataverse - Power Platform Community).

I believe I am in a minority but I have always thought that polymorphic relationships (I think now also called multi-table relationships) are a terrible idea that go against normalisation principles and create much unnecessary confusion for limited/questionable benefit. My understanding is that they are not well supported in canvas apps but as MS has recently doubled-down on them, there may be some new features in canvas apps to provide additional support either recently added or in the pipeline.

Last time I had to deal with these I seem to recall that the D365 team just put in redundant relationships / repeated fields across the entities to give us something we could run delegable filters on.

Helpful resources

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,602)