web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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 531

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,679 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard