cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AislingFaulkner
Helper III
Helper III

Navigating to a parent from a gallery to a details screen with two data sources

I have two tables, one with employee names, and one with each employee's records of a specific request. I want to navigate from the gallery with the employee names to the selected employee's request screen. How do I navigate from one data source(gallery.selected) to another datasource?

1 ACCEPTED SOLUTION

Accepted Solutions

If it not a form but another Gallery, change the formula to:

Filter(Datasource,EmpID=Myselection)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Assuming the common Field between the 2 Datasource is EmpID, in the Onselect of an icon inside the Gallery1, put:

Set(Myselection, ThisItem.EmpID)

 

Then on the Item of the form in the details screen;

LookUp (Datasource,EmpID=Myselection)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

That works for navigation, but it only shows one record instead of the 8 it should. Is there another value I should pass?

If it not a form but another Gallery, change the formula to:

Filter(Datasource,EmpID=Myselection)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,833)