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 / How to display a table...
Power Apps
Unanswered

How to display a table of people and total records assigned to them based on the value in a status field

(0) ShareShare
ReportReport
Posted on by 282
I have a helpdesk ticket creation & management app that tracks the following in a SharePoint list...
Issue:  is a single line text field
Activity: is a multi line text field
Status: is a choice field (Not started, In Progress, Completed)
Customer: is a person field 
Assigned To: is a person field (dropdown with the choices provided by a collection ('colAssignedTo')) that gets created when the app launches (pulled from an O365 group)
 
My helpdesk manager wants a screen where he can see a table of all analysts, and the number of ACTIVE tickets assigned to each.
 
How do I display a gallery listing my analysts, and showing the total number of tickets assigned to them where "Status = Completed"?
 
Assistance is deeply appreciated.
Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    Hi @rkirk2k , a bit headache inducing, but you could apply the below to the items property of your Gallery:

     

     

    Filter(
     DropColumns(
     AddColumns(
     GroupBy(
     AddColumns(
     'Your Data',
     "AssignedToDisplayName",
     'Assigned To'.DisplayName
     ),
     "Status",
     "AssignedToDisplayName",
     "GroupedItems"
     ),
     "Count Value",
     CountRows(GroupedItems)
     ),
     "GroupedItems"
     ),
     Status = "Completed"
    )

     

     

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution

    If you like my response, please give 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 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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard