web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery Data from Two ...
Power Apps
Unanswered

Gallery Data from Two Sources

(0) ShareShare
ReportReport
Posted on by 1,265

I have a gallery based on the following...

 

RJF61_1-1671480264651.png

In a related list VehList, I have a description column/field named "VehMfgMod" for each of the ID numbers shown under the yellow arrows (i.e., 2, 9, 34, 35, etc.).  Is it possible to identify and bring those values into the Gallery - Items.  I would like to include within the red circled area. 

 

RJF61_4-1671480788907.png

 

 

 

 

 

 

 

 

 

 

 

 

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @RJF61 ,

    I may not have interpreted your requirements exactly here, but from your description, are you trying to do this ?

    Sort(
     AddColumns(
     VehNoList,
     "Model",
     LookUp(
     VehInsp As aVeh,
     aVeh.VehNo.Value = VehNo.Value
     ).VehMfgMod
     ),
     CurrentMileage,
     Descending
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • RJF61 Profile Picture
    1,265 on at

    Hello @WarrenBelz thanks for the reply.  My question is do I need to modify the LookUp to VehList versus VehInsp?  VehList contains the vehicle info (VehMfgMod) and VehInsp contains the inspections by vehicle.

     

    Sort(
     AddColumns(
     VehNoList,
     "Model",
     LookUp(
     VehInsp As aVeh,
     aVeh.VehNo.Value = VehNo.Value
     ).VehMfgMod
     ),
     CurrentMileage,
     Descending
    )
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @RJF61 ,

    It depends which "base" you want to display and subsequently which columns you need to add from the "other" list. You can do it either way (adding the missing columns by referring to the matching VehNo.)

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • RJF61 Profile Picture
    1,265 on at

    Hi @WarrenBelz ok got that to work but lost the Distinct/Grouping for the individual VehNo. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard