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 / Getting a score from a...
Power Apps
Unanswered

Getting a score from a list box

(0) ShareShare
ReportReport
Posted on by 282

Hello, 

 

I have a list box with 6 items "errors" in it as well as a "score" text box.  I want to have it when an item is selected in the list box, it is subtracted from the overall score in the text box (i.e. 6 - 1 = 5, etc.), but have yet to be successful at completing this.  Anyone have any ideas?  I am still very new to Power Apps, so just looking for a simple approach to solve this one.  Thank you!

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @ianallen13 

    Try this in the Text property of a label.  My assumption is your ListBox shows 6 items within it.

    CountRows(ListBox1.AllItems)-CountRows(ListBox1.SelectedItems)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard