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 / Column text value form...
Power Apps
Unanswered

Column text value form a gallery to another text field outside the gallery on the same app page

(0) ShareShare
ReportReport
Posted on by 20

Hi, I have a question with PowerApps and I hope you can help me with it.

 

So, I created an app that have a Gallery (Gallery1), that gallery have a text field (Txtfield1). On the same app page I have another text field (fieldX) outside the gallery that I want to have the text value from the Gallery1 - Txtfield1. At this point when I do search in the gallery, the text is populating from Txtfield1 to fieldX, BUT ONLY when I click on the Gallery, not automatically. is there a trick for that?

 

Note: the gallery data source is a SharePoint list (SPList) and the column data is column1. The Text for the fieldX is Txtfield1. I tried Lookup function but no luck.

 

Thank you for your help.

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    A gallery contains a table. The text field in your gallery (Txtfield1) contains whatever value for that given record. Notice there's a bunch of records in the gallery. This is why your field outside the gallery (fieldX) doesn't know what value Txtfield1 is, because Txtfield1 has many values, until you select it (that's how the label knows what Txtfield1 you're talking about). It's technically referencing Gallery1.Txtfield1.Selected.Columnnamehere.

     

    To better assist you, what specifically are you trying to do, or display, outside the gallery? Why are you trying to show the same information in two places on the same screen? Perhaps you can skip the gallery all together and have the label just display whatever it is you're trying to display. Any extra info will help!

  • ialabbasi Profile Picture
    20 on at

    Thank you zmorek for the quick response.

     

    I have a one-page org chart app that getting the users info from the AD like name, email, phone number and supervisor name. Now my agency needs to have a 2nd supervisor field (FieldX) in the org chart app, we do have this information on a SharePoint list (SPList) and the column is (column1). So I thought to grab this column text value and add it to my app, the way I did it is get the SharePoint list on that Gallery (gallery1) and the text box field which have the 2nd supervisor info is (Txtfield1), I did filter the gallery with the same search bar for the org chart and that works fine, I can see the item in the gallery that I searched for with the 2nd supervisor field, but only when click on the galley will populate the text to the (FieldX). Note that I will need to hide the gallery as I do not want to appear in the app. I hope that explanation is good enough, otherwise let me know. thank you,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard