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 / Select ONE Checkbox fr...
Power Apps
Answered

Select ONE Checkbox from Gallery Row ONLY

(2) ShareShare
ReportReport
Posted on by 288
I have a gallery with data begin pulled from Dataverse...right now 4 items.
Each Record is a row in the Gallery.
 
If the user clicks Row 1 Check Box Good.
If the user then decides to click Row 2 Check Box REMOVE Row 1 Checked Box.
If the user then decides to click Row 4 Check Box REMOVE Row 2 Checked Box.
 
I only want ONE Row to be checked at a time and remove the check marks from the rest of the rows.
 
How can I keep track of what row is checked off so I can remove the check marks from all the other rows??
 
 
 
Thanks,
Mark
I have the same question (0)
  • Verified answer
    MS.Ragavendar Profile Picture
    7,492 Super User 2026 Season 1 on at
     
    I replicated your scenario.
     
     
    Properties
     
    Default -   ThisItem.ID = varSelectedID
     
    //Replace ID with the unique identifier column of your Dataverse record
     
     
    OnCheck -  Set(varSelectedID, ThisItem.ID)
     
     
     
    OnUncheck -  Set(varSelectedID, Blank())
     
     
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
    ✅ Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
     
  • smithmrk Profile Picture
    288 on at
    Perfect!!!
    Thanks so much.
     
    Mark
  • smithmrk Profile Picture
    288 on at
    I noticed you used the "Classic Checkbox" control.
     
    I happened to use the new "Modern Checkbox" control...and noticed that on load of the gallery items it does NOT default to the item checked off.
     
    Couple of things I noticed even with the Classic Control is when you first load the data the "varSelectedID" is blank.
    That's fine, I added an IF statement that if the varSelectedID is Blank to use ThisItem.ID which seemed to work fine for the Classic Control, but NOT the Modern Control.
     
    Didn't know if you wanted to play around with both on the gallery and see if you are seeing the same results I am as well.
    I also added a toggle to see how that would act as well and both the Classic and Toggle work as expected, but the Modern Control does not work "On Loading of data to Gallery" / Checked.
     
    Example...
     
    Let me know if you have any questions, about any of this.
    Mark
     
     
  • MS.Ragavendar Profile Picture
    7,492 Super User 2026 Season 1 on at
     
    Let me try with Modern Controls and will circle back on this.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard