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 with checkbox ...
Power Apps
Answered

Gallery with checkbox keeps refreshing

(0) ShareShare
ReportReport
Posted on by 25

Hi Experts,

 

I have a gallery that relies on another gallery. Both galleries pull out the data from the SharePoint list.

 

Gallery 1 is called AppName and Gallery 2 is called ServerName 

 

Depending on the AppName selection, it pulls out the ServerName from the SharePoint list and shows with the checkbox in another gallery.

 

There are two issues here I am currently experiencing.

 

One is when I tick the AppName checkbox, it is not showing all server names. It is only showing the current selection of the ServerName for the App. This is fine as there will be too many if the user select all apps.

 

The second problem is that when I tick the checkbox from ServerName gallery and choose another AppName and tick the checkbox from ServerName for another App, it refreshes the list that's been selected from others. I want to keep this information so I can pass it to the Power Automate flow. Also, user can see the checkbox ticked what has been selected when they came back to the app again.

 

I followed the Reza's youtube video from here: https://www.youtube.com/watch?v=Vj8uP2zaMtA 

 

and used the code for the AppName as below (tried onChange, onCheck and onSelect but none of them were working)

Set(varAppData, ShowColumns(Filter(GalleryAppName.AllItems,CKBoxApp.Checked),"Value"))
 
and used below code for the ServerName (tried onChange, onCheck and onSelect but none of them were working)
Set(varServerData, ShowColumns(Filter(GalleryServerName.AllItems,CKBoxServer.Checked),"Value"))
 

Can someone please advise what I did wrong here?

 

Thanks

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

    Hi,

     

    So sorry, There is a lot of stuff typed in but not really any pictures or a walkthrough thats very clear. Also, most of us wont read someones blogs just to answer your questions.

     

    Please put some pictures and clarity and will be happy to answer.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • warang Profile Picture
    25 on at

    Ok,

     

    So I have a screenshot below.

     

    warang_0-1696886643693.png

    warang_1-1696887046233.png

     

     

    There is a Test Application and TestApp1 associated with it.

    There is another Test Application 2 and TestApp2 associated with it.

     

    Each combobox below will show what's been selected from the top gallery for both Application Name and Server Name.

     

    When I select and tick the checkbox for TestApp1, it shows ok in combobox and variable varServerName shows TestApp1. However, as soon as I tick the box TestApp2 from Test Application 2, TestApp1 is refreshing the variable and chose only TestApp2. 

     

    warang_2-1696887158487.png

     

    When I chose both TestApp1 and TestApp2 from the combobox, it remains the both servernames and shows the checkbox checked in a gallery.

     

    Is it more clear for you to see what the issue is and guide me through to the right way to fix it?

     

    Let me know if you need more information.

     

    Thanks

  • Verified answer
    warang Profile Picture
    25 on at

    All good. I have resolved it by myself. 

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 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard