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 not displaying...
Power Apps
Unanswered

Gallery not displaying text but is retrieving the proper items

(0) ShareShare
ReportReport
Posted on by 24

My gallery is not displaying the text when I do a call such as ThisItem.Name or whatever else may be stored within the Dataverse table. There should be two items like shown what is getting from the Filter but the purple button only displays once.

Screenshot 2024-06-14 141226.png
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @maeux - this is a very vague post you have written. When you say "purple button", is that supposed to mean you have embedded a Button control into your Gallery, and that it should be visible for all rows in your table?

  • maeux Profile Picture
    24 on at

    Hello yes, sorry for not being more specific. The "purple button" is a part of each gallery item. You are exactly correct with your assumption.

     

    To give a better explanation. Whenever a user was to click on the "+ Add" text they would be able to add multiple items to that one type of field similar to attachments but with objects. We have the field patching to the Dataverse table as the user submits the new item into the field

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @maeux - sorry this is still very vague.

     

    As I understand it, your data source is Dataverse, and you have a Gallery control. The Items property of that Gallery control is associated to a Dataverse table.

     

    You have a Label control on your Screen. On the OnSelect property of that Label control, you're running a Patch function to add a new row to your DataSource.

     

    You have a Button control embedded into the Gallery. The Button control should be repeated per the number of items in the Gallery, however, it the Button is only appearing on the first row. 

     

    What do you have on the Visible property of that Button?

  • maeux Profile Picture
    24 on at

    Hello Amik,

     

    No that is alright let me give more context. The Button visibility is set to true.

     

    Yes, it is only showing one button which should be repeated for the number of items that are in the gallery based on the filter we applied. Currently in the example I will show below there should be two items. Here are some more screenshots to give more context.

     

    Here is the structure for each gallery item we have set up.

    Screenshot 2024-06-17 144504.png

     

    Here is what the application looks like while I'm in editor mode. I was able to fix the Name text display. I used the LookUp function on the Text property pf lbl_Name to retrieve the item's "Name".

    Screenshot 2024-06-17 144537.png

     

    On the other hand, this is what the field looks like on Run.

    Screenshot 2024-06-17 144608.png

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @maeux - I have no idea what the "Name text display" means. Looking at the screenshot of the tree view, you have a Label control in your Gallery and you have a LookUp function to return some text. What relevance any
    of this has to your original question I do not know.

     

    Focusing on the actual problem. Could you please add a Label control into the Gallery and on the Text property, enter:

     

    ThisItem.'Created On'

     

    And then confirm if a value is returned for each row in your Gallery control.

  • maeux Profile Picture
    24 on at

    What I meant by "name text display" was part of my original question.

     

    We were having trouble with the column in the Dataverse Table labeled as "Name" and have a Text Label for each gallery item that is supposed to display that value saved to the table. Using ThisItem.'Created On' did not show the value on display. Instead, I had to use this in the Text property of the label.

     

    LookUp('Details', ID=txt_ID.Text, 'Created On')

    Screenshot 2024-06-17 154316.png  Screenshot 2024-06-17 154157.png

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @maeux - please could you confirm what formula have in the Items property of the Gallery control.

  • maeux Profile Picture
    24 on at
    Filter('Details',ID=txt_ID.Text,Type='Type (Details)'.Items)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @maeux - please update the Items property just to: 

     

    Details

     

    I want to confirm if it is your Filter which is causing the problem.

     

  • maeux Profile Picture
    24 on at

    Here is the Gallery and the table it is returning.

     

    Screenshot 2024-06-17 161807.png

    Screenshot 2024-06-17 161906.png

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard