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 / Show Highest Assigned ...
Power Apps
Answered

Show Highest Assigned Item of an ID with multiple records

(0) ShareShare
ReportReport
Posted on by 16

Hi Everyone,

So i have this issue: I have a SP List that a employee can have multiple items, one of the columns of the list is a choice column, the choices are A B C D E, and so on. (A being the highest choice one can select and Z the lowest)

 

Lets move to the app, there I have a gallery (master SP List) that has a list of all the employees, so what I wanna do is to only show the the highest "rated" choice of my secondary gallery (i have them linked with a LookUp column).

 

This meaning that if an employee has 3 items on the second list, these being B, C, and E, only the item with the B choice shows. And if the employee then adds an item with a choice A, then this new item will show.

 

Im a newbee in PA, i have tried a few things but nothing has worked so far. Thanks in advance!

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,576 Most Valuable Professional on at

    HI @MMiranda ,

    This is structure only assuming names etc, but you need to add a column and sort by it

    LookUp(
     Sort(
     AddColumns(
     SPListName,
     "Rating",
     YourChoiceColumn.Value
     ),
     Rating
     ),
     Employee = YourChosenEmployee
    )

     

    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

  • MMiranda Profile Picture
    16 on at

    Hi @WarrenBelz ,

     

    That totally worked, thank you so much!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard