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 / Rating based on range
Power Apps
Answered

Rating based on range

(0) ShareShare
ReportReport
Posted on by 282

Hello all, 

 

I am working on a QA form update and we want to move forward with something that instead of a percentage, that the person actually gets an: Exceeds, Fully Effective, etc. (see below) based off of a % earned.  Is there an easy that after the percentage score is calculated, can I have a field that says: if score is between X - X, then show "Exceeds" or something like that?

 

ianallen13_0-1649949785972.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,764 Most Valuable Professional on at

    Hi @ianallen13 ,

    You did not provide the code you use to calculate the percentage, but this would require a simple If() chain

    If(
     Percentage >= 95,
     "Exceeds Expectations".
     Percentage >= 90,
     "Fully Effective",
     Percentage >=76,
     "Still Developing",
     "Does Not Meet Standard"
    ) 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

     

  • ianallen13 Profile Picture
    282 on at

    Apologies for not providing more info: 

     

    I have a score box field called "CU Score Box" that calculates the percentages based on errors selected.   

    ianallen13_0-1650384248194.png

    ianallen13_1-1650384325480.png

     

    How would I write the formula to calculate the rankings based on the percentage?

  • Verified answer
    WarrenBelz Profile Picture
    155,764 Most Valuable Professional on at

    Hi @ianallen13 ,

    You would need something like this as you control value is Text, not a number

    With(
     {wPercent: ((14-'CU_Error Count_Eval')/14)*100},
     If(
     wPercent >= 95,
     "Exceeds Expectations",
     wPercent >= 90,
     "Fully Effective",
     wPercent>=76,
     "Still Developing",
     "Does Not Meet Standard"
     )
    )
    

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • ianallen13 Profile Picture
    282 on at

    Thanks @WarrenBelz but when I enter this, it gives me an error saying:

    "Unexpected characters.  The formula contains 'ParenClose' where 'CurlyClose' is expected.

    ianallen13_0-1650464816810.png

     

    I entered it just as you suggested (see below): 

    ianallen13_1-1650464861540.png

     

    Any thoughts / ideas?  Am I missing something?

  • ianallen13 Profile Picture
    282 on at

    Actually - I just got it.  Looks like the original was just missing a bracket.  Got it!  Thank you so much!!

  • ianallen13 Profile Picture
    282 on at

    Here's the final formula for anyone that may need this as an example: 

     

    With({wPercent:((14-'CU_Error Count_Eval')/14*100)},If(wPercent >=95, "Exceeds Expectations", wPercent >=90,"Fully Effective", wPercent >=76,"Still Developing","Does Not Meet"))

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 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard