Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Groupby function in Nested galleries for below output format data

(0) ShareShare
ReportReport
Posted on by 15
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
  • Paramesh Ulthi Profile Picture
    15 on at
    Groupby function in Nested galleries for below output format data
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard