cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tamras
Impactful Individual
Impactful Individual

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
Anonymous
Not applicable
2 REPLIES 2
Anonymous
Not applicable
Tamras
Impactful Individual
Impactful Individual

@Anonymous 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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,928)