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 number of cases a...
Power Apps
Unanswered

Show number of cases assigned to a person in PowerApps

(0) ShareShare
ReportReport
Posted on by 67

Hello Community,

 

I'm using SharePoint as a data source.  In Sharepoint, I can group the list by employee.  When I do this, it groups cases that are assigned to each employee and in parenthesis it gives me the number of cases assigned per employee.  

 

How can I do this in PowerAPPS?  

 

My screen has a list of new requests that have been submitted by the customer.  I added a container in order to view the number of cases already assigned to my employees.  I added a gallery and connected my data source.  What is the formula to achieve the above?

 

Can you help me? 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @heycanyouhelpme 

    You can use the GroupBy() function to group your data by employee and use the CountRows() to give a count of the items they have.  In the screenshot, the outer gallery shows the sales data grouped by Product and the RestOfData is in the inner gallery and CountRows is used to show how many rows are in the RestOfData. 

    _11.png

  • heycanyouhelpme Profile Picture
    67 on at

    @Drrickryp would you mind posting the complete string?

  • heycanyouhelpme Profile Picture
    67 on at

    @Drrickryp never mind.  I see it in the pic.  My column isn't populating.  Not sure why.  Do you have any input?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @heycanyouhelpme 

    Check out the documentation on the GroupBy() function here. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-groupby 

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard