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 / Update the selectedite...
Power Apps
Unanswered

Update the selecteditems by checkbox.value is true in gallery to sharepoint doesn't work

(0) ShareShare
ReportReport
Posted on by 9

Dears,

 

What I want to implement is use a Gallery instead a combo box because I want to list one group of pictures as choices, and put checkbox in gallery template to let the user check the data, only if the checkbox.value is true, I will collect the data as a table then save to sharepoint. The style as below.

 

SongHao_0-1675264015846.png

But when I insert a gallery and the gallery's parent is Screen, it runs well, and insert a gallery and the gallery's parent is Card,it doesn't work. 

Gallery name is Gallery6_1, 

Card name is multiSelect_DataCard1.

Checkbox name is Checkbox2.

I set multiSelect_DataCard1.Update = ForAll(Filter(Gallery6_1.AllItems,Checkbox2.Value),Value)

and the formula's result in formula monitor droplist is right, show as below

SongHao_1-1675264545312.png

But the value save to share is ["a1","a2","Choice3"], it should be ["a1","Choice3"]

To easy monitor the actual value, I set the choicesText textbox.text = CountRows(ForAll(Filter(Gallery6_1.AllItems,Checkbox2.Value),Value))

the result is 3,it's wrong, it should be 2. show as below.

SongHao_2-1675264788237.png

 

So does anyone know why this occurs and how to fix it?

Categories:

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

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard