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 / need to group by galle...
Power Apps
Answered

need to group by gallery based on the emp name

(0) ShareShare
ReportReport
Posted on by 70

Raj2014_0-1661512520732.png

I need to group by Requestor name into the gallery and I need to show the sum of total No of hours into gallery 

gallery items properties I'm using search and dropdown filter 
SortByColumns(
Search(
Filter(
KRCAllRequest,
IsBlank(Dropdown1_3.Selected.Value) || IsEmpty(Dropdown1_3.Selected.Value) || Status.Value=Dropdown1_3.Selected.Value),
txtSearch.Text,
"Activity","BU","QualityTask","Name"),
"ID",
Descending

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Raj2014 ,

     

    Please check out this video that provides a tutorial that may help you using the GroupBy function and the use of nested galleries: https://www.youtube.com/watch?v=MDhIjM08u-w

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Raj2014 ,

     

    Maybe you could try:

    AddColumns(
     GroupBy(
     SortByColumns(
     Search(
     Filter(
     KRCAllRequest,
     IsBlank(Dropdown1_3.Selected.Value) || IsEmpty(Dropdown1_3.Selected.Value) || Status.Value=Dropdown1_3.Selected.Value
     ),
     txtSearch.Text,
     "Activity","BU","QualityTask","Name"
     ),
     "ID",
     Descending
     ),
     "Requestor Name",
     "NewGroup"
     ),
     "SumHours",
     Sum(NewGroup,'No.of hours')
    )

     

     Best Regards,

    Bof

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard