cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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. 

3 REPLIES 3
Highlighted
Helper V
Helper V

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

I think this fiter formula cannot work to achieve this.

Highlighted
Community Support
Community Support

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

Hi Gizmo,

 

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

 

Regards,

Mona

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.
Highlighted
Frequent Visitor

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

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

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,638)