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 Template Fill ...
Power Apps
Answered

Gallery Template Fill problem

(0) ShareShare
ReportReport
Posted on by 421

Hi everyone.

 

I have an issue with my gallery fill property.  So the gallery has checkboxes that when selected, create and fill a collection. Also, when the checkbox is checked, it uses template fill to shade the gallery showing the item is selected. The collection is removed from the gallery using a ForAll formula and the collection is posted to another table.  Operationally it works perfectly, but after the ForAll loop runs, the gallery is shaded like all the checkboxes are checked.  

 

I have tried multiple solutions, and currently I have a lebl inside the gallery that shows the value of the checkbox, and the template fill formula is below.  If(Label7_12.Text = "false",Transparent,(RGBA(0,134, 208, .5)))

 

Im not sure what to try next.  I have not had this issue with other apps using the same type of solution.

 

Thanks!

 

Chris

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    If(IsEmpty(your collection),Transparent, 

    ThisItem.Checkbox1.Value, RGBA(0,134, 208, .5))

     

  • ckserra33 Profile Picture
    421 on at

    Hi @Drrickryp .  Once I removed the ThisItem it worked perfectly!!  Thank you for your help!

     

    Chris

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
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard