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
Highlighted
Eelman
Level 10

Re: Group By - show more than one column

2 REPLIES 2
Highlighted
Eelman
Level 10

Re: Group By - show more than one column

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,828)