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 update column
Power Apps
Answered

Gallery update column

(0) ShareShare
ReportReport
Posted on by 12

I have galllery which have a column Answered questions , I need to update this variable after how many answer has been selected for the selected one.

 

Appreciate the help for the same 

 

I have the same question (0)
  • Joel CustomerEffective Profile Picture
    3,224 on at

    could you post an image of your gallery? I'm not clear what you are asking in your question.

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @anubhav29 ,

    Could you tell me:

    1)what does this mean: "how many answer has been selected for the selected one"?

    2)what data do you want to use to update "Answered questions" column?

    3)where do you want to selected answer, inside gallery? outside gallery? use what control?

    4)the data type of "Answered questions" column?

    Actually, just based on your description, I could not quite understand your issue.

     

    I assume that:

     you put multiple checkboxes inside the gallery and you use the checked number to update "Answered questions" column.

    "Answered questions" column is number type.

    The gallery looks like this:

    68.PNG

     Then you update the first line with 5,the second line with 3,the third line with 2.

    In this situation, you could set the arrow button's OnSelect inside the gallery:

    Patch(listname,ThisItem,
     {'Answered questions':
     If(Checkbox1.Value,1,0)+If(Checkbox2.Value,1,0)+
     If(Checkbox3.Value,1,0)+If(Checkbox4.Value,1,0)+
     If(Checkbox5.Value,1,0)
     }
    )

     

     

    Best regards,

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 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard