Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

One-To-Many Display Using Common Data Service in PowerApps

I am currently testing PowerApps using the Common Data Service.  I have set up two related tables using the lookup field in the second table (Staff Members and Staff Member Organizations).  I have successfully created an app based on the Staff Member table.  It houses PrimaryID, StaffMemberFirstName, StaffMemberLastName, StaffMemberBirthMonth, and StaffMemberBirthDay.  The second table houses PrimaryID, StaffMember_, StaffMemberOrganization, and StaffMemberPosition. StaffMember_ is the lookup field containing the staff member's PrimaryID.  The gallery for the staff members is named StaffMemberBrowseGallery.


When navigating to the detail screen, I would like to have the name of the person (again) with a list of the organizations they belong to.  


I have set up a text gallery on the detail page, and I have filtered using the following formula:

Filter('Staff Member Organization', StaffMember_ = StaffMemberBrowseGallery.Selected.PrimaryId )

However, StaffMember_ is highlighted with the blue line with the info icon showing.  What am I doing wrong?  I've looked over the filter function more than once, but don't understand why this isn't working.


Any help would be appreciated.  Thank you. 

Helper V
Helper V

I think this fiter formula cannot work to achieve this.

Community Support
Community Support

Hi Gizmo,


Have you tried to let PowerApps to create the app for you using the CDS connection directly? 




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Could someone at Microsoft help me with this?  The two answers I have received are not helpful at all. 

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,714)