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

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 III
Super User III

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.

View solution in original post

Helpful resources

Announcements
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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (34,685)