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 / Groupby function in Ne...
Power Apps
Unanswered

Groupby function in Nested galleries for below output format data

(0) ShareShare
ReportReport
Posted on by 17
Hi All,

I'm looking to generate below excel data into below shown format data by using nested galleries.
It would have been great if PowerApps would have allowed three level nested galleries as there is only 2 level nested galleries currently
 


Currently by using two level nested galleries I can make up to below format but I want to group category data as well, for example I want to show two Agenda Topics in one Nomination Category
  


I did by using first gallery(gly_pivot_1) items as below with selection filters

 
Distinct(Sort(
        Filter(
            INGRollingAgenda,
            MBB_Meeting >= dt_strtdate_2.SelectedDate && MBB_Meeting <= dt_enddate_2.SelectedDate,
            DropdownPivotOrganisation_1.Selected.Value in Organisations.Value || DropdownPivotOrganisation_1.Selected.Value = Blank()
        ),MBB_Meeting),
         Text(
        DateTimeValue(MBB_Meeting),
        "dd mmmm yyyy"
    )
    )


And second Gallery(gly_agenda_1) Items as below
Sort(
        Filter(
            INGRollingAgenda,
            ThisItem.Value = MBB_Meeting
        ),
        MBBCategory.Value
    )

And then later I added two labels Category and AgendaItems under second gallery and date(laebel25) under first gallery
Now I want to group category data as well, for example I want to show two Agenda Topics in one Nomination Category for 14August
Categories:
I have the same question (0)
  • Paramesh Ulthi Profile Picture
    17 on at
    Though I didn't find way to group the columns inside second nested gallery and there is no option to nest third level nested gallery, I found turn around solution to hide the column when it gets repeated as shown below

    You can write below formula on text field to hide when it's not needed
     
    If(ThisItem.ID=Min(Filter(mySolution8,field_26=ThisItem.Organisations,
    field_7=ThisItem.Category1,field_1=ThisItem.CommitteeMeetingDate),'Min Value'),true,false)

    mysolution8 is collection name of datasourceand field_26 and field_7 are columns within in it and this compares with ID which has been created in sharepoint for every row

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