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 / Merge similar gallery ...
Power Apps
Unanswered

Merge similar gallery rows into 1 row.

(0) ShareShare
ReportReport
Posted on by 603

I have a powerapp gallery with SharePoint as the backend.

 

There are multiple rows which has the same Serial number. I want to merge the last column and show info icon only once, instead of displaying 5 times. Any idea how to merge gallery rows into one row?

 

Screenshot included below. The last column should get merged into one as all belongs to same serial number DC202303-3.

 

Any idea how to achieve this?

 

Iantaylor2050_0-1689440744072.png

 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @Iantaylor2050 ,

     

    If I were to "draw" what I think your trying to do in Excel, I think the expected output would be this:

     

    Amik_0-1689467379126.png

     

    If this assumption is correct, then in the Items property of the Gallery, enter:

     

    AddColumns(
     'Your Data,
     "isFirst",
     !IsBlank(
     LookUp(
     ForAll(
     GroupBy(
     'Your Data',
     "Your Serial Number Field",
     "_GroupedItems"
     ),
     {
     _firstID: First(ThisRecord._GroupedItems).ID,//SharePoint ID
     _serialNumber: ThisRecord.'Your Serial Number Field'
     }
     ),
     _firstID = ID,//SharePoint ID
     _firstID
     )
     )
    )

     

     

     

    In the Visible property of the Icon in the Gallery, enter:

     

    Boolean(ThisItem.isFirst)

     

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

    Imran-Ami Khan

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard