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 / PowerApps Gallery add ...
Power Apps
Answered

PowerApps Gallery add another column from the list

(0) ShareShare
ReportReport
Posted on by 8

Hi  ,

 

I have a parent and child  sharepoint list with lookup field as mapping. I have placed a gallery and loading all the items in a gallery with the below filter condition which works perfect.
Filter('Products',(Location.Value=DrpLocation.Selected.Value||If(DrpLocation.Selected.Value="-Select-", true , false ))&&('Category Name'.Value=DrpCatType.Selected.Value||If(DrpCatType.Selected.Value="-Select-", true , false ))&&(StartsWith('SERVICE TAG',SearchProductstextBox.Text)||StartsWith(MODEL,SearchProductstextBox.Text)))

Now i want to display a column of child list "AssignedTO" in this gallaery. where i have placed a label and on text property

 

LookUp(BIASITASSETS,ID=Value(GetpidfromAssignInfoId)),Last(AssetColl)).AllocatedTo

 

I read from ShangeYoung video that it is not good practice to use Lookup to display the data for a single column in a gallery.

 

How can we achieve this?

Categories:
I have the same question (0)
  • Santosh_143 Profile Picture
    8 on at

    @mdevaney can you help me in this regard

     

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Santosh_143 ,

    Do you want to display data from another list in the gallery?

    Could you tell me:
    1)which is the parent list? which is the child list?

    2)where is the lookup field? in which list? the lookup field name? looks up to which field in another list?

    3)AssignedTO field data type?

    I assume that:
    1)'Products' is the parent list, BIASITASSETS is the child list

    2)look up field is in BIASITASSETS list, lookup field named GetpidfromAssignInfoId, looks up to ID field in 'Products' list

    3)AssignedTO field data type is single person type

    4)the gallery is used to display 'Products' list, you want to display related AssignedTO field in this gallery

     

    If so, you should set like this:
    1)the gallery's Items:

    Filter('Products',(Location.Value=DrpLocation.Selected.Value||If(DrpLocation.Selected.Value="-Select-", true , false ))&&('Category Name'.Value=DrpCatType.Selected.Value||If(DrpCatType.Selected.Value="-Select-", true , false ))&&(StartsWith('SERVICE TAG',SearchProductstextBox.Text)||StartsWith(MODEL,SearchProductstextBox.Text)))

    2)insert a label inside the gallery

    set the label's Text:

    LookUp(BIASITASSETS,GetpidfromAssignInfoId.Value=ThisItem.ID).AssignedTO.DisplayName
    

     

     

     

    Best regards,

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
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard