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 showing th...
Power Apps
Unanswered

Gallery not showing the Collection table

(1) ShareShare
ReportReport
Posted on by 146

Hello Everyone!

 

Currently, I am building the company expense claim app where I have 2 screens. Screen 1 is for just the basic information and screen 2 is the detailed information. On screen 2 there a save button where i want the user to click on the button first then it will store in collection table so that they can view or edit before clicking submit to submit those requests to the SharePoint list. The code for the onselect property of the button is like this:

Collect(Information, {CategoryGroup: DataCardValue69.Selected.Value,
        CategoryName: DataCardValue70.Selected.Value,
        InvoiceDate: DataCardValue74.SelectedDate,
        InvoiceName: DataCardValue57.Text,
        TypeOfClaim: DataCardValue78.Selected.Value,
        Amount: DataCardValue45.Text,
        Description: DataCardValue50.Text,
        GLLocalAccount: DataCardValue53.Text,
        'BU/GLAccount': DataCardValue46.Text,
        TotalKM: DataCardValue64.Text,
        Vehicle: DataCardValue79.Selected.Value,
        RateOfKM: DataCardValue59.Text,
        AllowanceType: DataCardValue68.Selected.Value,
        Country: DataCardValue49.Text,
        GoogleMapURL: DataCardValue54.Text,
        StandbyFrom: DataCardValue75.SelectedDate,
        StandbyTo: DataCardValue76.SelectedDate,
        StandbyInHours: DataCardValue61.Text,
        From: DataCardValue72.SelectedDate,
        To: DataCardValue77.SelectedDate,
        RateOfAllowance: DataCardValue58.Text,
        TotalStandbyAllowance: DataCardValue65.Text,
        InternalPersonInvolved: DataCardValue73.Selected.DisplayName,
        ExternalPersonInvolved: DataCardValue71.Selected.DisplayName,
        CreatedBy: User().Email})
 
Seth18_0-1720149245650.png

and for the gallery on the left i want it to show the user request queue when they clicked save button above. But somehow it not showing the data on the right when i tested submit it just said no item to display. How can i make sure that when the user click on their request on the left when they saved it will also appear the collection table? How can i make the gallery to show that information? And how can i also make it editable for user before they submit the form to the SharePoint as well? I’ve been struggling on this. 

Categories:
  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Wow thats a lot of requests and information. @Seth18 

     

    Need to pair it back so people can follow up. One question at a time. Let's get the first thing answered and if you have more things open more questions. 

     

    Your OnSelect Collect looks good to me. 

    1. Run the app

    2. Click the button

    3. Stop the app

    4. Next to Settings click the ... on the menu and select Open

    FLMike_0-1720149786288.png

    5. Select 

    FLMike_1-1720149811585.png

     on the left

    6. Scroll down through collections or Search for yours

    7. Select it

    8. Click the ... on the Collection line and choose view table

    9. Verify that your single record is there.

     

    NOTE: you are doing a collect. If they Press the button Multiple times you will keep adding more rows. If that is NOT what you want, then do a ClearCollect, not a Collect

     

    If your collection has the row you want, then go to the Gallery Items property and make sure you have it populated with the proper Collection

     

    That ends question one. If the gallery shows the Collection please mark this  as the solution. If you have more after that, please open another question for those issues.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

  • Seth18 Profile Picture
    146 on at

    Hi @FLMike !

     

    Thank you for your fast response!

    Correct me if im wrong, but the steps you are suggesting is on PowerApps Desktop right? I am currently working this on Powerapp web so it a bit different but i would say that when i run the app it do store in the collection table. As seen as the img 1 below:

    Seth18_0-1720150352493.png

     

    but in the img 2 below is i am clicking on the request on the gallery itself: 

    Seth18_1-1720150485885.png

     

    it still not showing the items!

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    That would have been extremely important and helpful information to provide so as not to waste my time.

  • Seth18 Profile Picture
    146 on at

    Didn't meant to waste your time or anything apologize for not mentioning that in the start but still the problem is not solved yet as based on the screenshot you can see that the item is not shown in display when selected on! It would be great if you could help on this?

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    The steps I gave you are not for Desktop its for web.. why do you think its on desktop?

     

    Please go do the steps and come back with the answers.

  • Seth18 Profile Picture
    146 on at

    okay my bad on this but on the problem as above how can we fix it or make it display? Since the Gallery Items property are populated with the proper Collection already yet it not showing! 

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Hi @Seth18 

     

    Please provide the other questions, show me the Items Property of the Gallery itself and the Form.

     

    If the Gallery is selected (which I don't see anything selected), so I cannot tell what you selected. I am guessing those Arrows you have on each Row, is supposed to make it display that record on the Form???

     

    Validate the code in the Arrow

    Also, on the Form, please Check the DataSource and the Item property. Because thats the only things left to look at.

     

    Please copy an image of the datasource and Item property please of the form. thanks

     

    I see that you have 2 rows in the Gallery, not 1. Is the gallery setup to have multiple rows? If so I would expect to see them all, I see none.

  • Seth18 Profile Picture
    146 on at

    Hi @FLMike 

    Below is the item property of the gallery in which show the collection

    Seth18_1-1720155948832.png

    while for the form as below does not have any data on it

    Seth18_2-1720156026477.png

    And yes the gallery is setup to have multiple rows as long as the user click on the save button as there are different type of claims in which user can claim. 

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Hi @Seth18 

     

    That is become your Item property is blank

     

    for a Test set it to

    GalleryName.Selected, where GalleryName is the name of your gallery, and make sure you select a row in the Gallery Don't click the arrow you have etc, just click the row.

     

    As long as the Form has the Same datasource as the Gallery, it will load that data in it.

     

    Thats why you dont see it, you haven't assigned any data to it.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Seth18 Profile Picture
    146 on at

    Hi @FLMike 

     

    Thank you so much for your clarification on this. As followed, it still require me for a datasource while the datasource would just be from the column of the form.

    Seth18_0-1720156712800.png

    Seth18_1-1720156775642.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard