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

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

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

Top Solution Authors
Top Kudoed Authors
Users online (14,546)