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 / Building assesment wit...
Power Apps
Answered

Building assesment with scoring in powerapps

(0) ShareShare
ReportReport
Posted on by 10

I'm still beginner in powerapps and build some assestment with powerapps, and has some problem:

My scenario is when user submit right answer from each question, the score will record in my sharepoint list, this some capture:

Meta_0-1667028146863.png

The question I made in one gallery (connect to table data source) with radio button

 

Meta_2-1667028268064.png

On select on my radio button put the If function and create some score variable

Meta_3-1667028370583.png

On the submit button patch the score to sharepoint list filter by name variable

 

But when I try to submit the answer on the apps, the score in my sharepoint list always 0 (not calculate)

 

Really appreciate if anyone can help my problem

 

Thank you,

 

Meta

 

Categories:
  • Verified answer
    Akser Profile Picture
    1,546 Moderator on at

    You are updating the value in your variable (ScorePU) every time the user clicks the radio button. For example:

    1. My answer to Question 1 was correct - this sets the value of ScorePU to 1
    2. My answer to Question 2 was incorrect - this sets the value of ScorePU to 0

    And then I click the submit button. In your Patch formula you intent to patch the sum of ScorePU but ScorePU is a single value, therefore the sum will be itself (in the example above, the 'latest' value stored in ScorePU is 0 therefore the sum of ScorePU is also 0). 

     

    I would use a collection to store the scores and only then your sum formula will work.

  • Meta Profile Picture
    10 on at

    Thank you for your help.. This case solved

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard