cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tamras
Level 10

Group By - show more than one column

Is there a way to display more columns in a gallery when its grouped?
I have a nested galleries:

Gallery #1 has the following Items property:

GroupBy(
    Filter(
        Reviewers,
        Branch = Dropdown2.Selected.Name
    ),
    "MasterID",
    "selTemp_Title"
)


Gallery #2 has the following Items property:

Sort(
    Filter(
        Reviewers,
        ThisItem.MasterID = MasterID
    ),
    RouteOrder
)

I'd like to display more than 1 column in Gallery #1 but I can't figure out how. I tried using AddColumns() but cant figure out the expression. The other columns would be Title and Description.

2019-12-16_1235.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Eelman
Level 10

Re: Group By - show more than one column

2 REPLIES 2
Eelman
Level 10

Re: Group By - show more than one column

Highlighted
Tamras
Level 10

Re: Group By - show more than one column

@Eelman Thanks for the link. I figured it out.

AddColumns(
    GroupBy(
        Filter(
            Reviewers,
            Branch = Dropdown2.Selected.Name
        ),
        "MasterID",
        "Title",
        "MasterList"
    ),
    "Title2",
    "Title"
)

 Basically, I need to add the other columns I want to include in GroupBy (i.e. "MasterID", "Title") and then add "Title" in AddColumns

 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,147)