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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (48,157)