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 / Agroup a gallery based...
Power Apps
Answered

Agroup a gallery based on a column value

(0) ShareShare
ReportReport
Posted on by 37

Hi guys, everything ok?

 

I need some help to build a Gallery:

 

I have a Sharepoint List with the Title column based on a requisition number
When i send a info, PowerApps fill that column with the HE number (HE0001, HEQ0002), etc:

Igarsaba_0-1658501123872.png

 

When i put this Sharepoint List as my DataSource, he display the items with this order:

 

Igarsaba_1-1658501166227.png

 

I want to agroup the records based on Requisition number, basically i need to display HE0001 infos only one time.

Is that possible?

 

With that possibility, i want to collect the Title (HE0001) to display a table below with all infos send on that requisition number and be aple to patch then to "Approved" status.

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Igarsaba 

    Grouping is not a problem, but your data has different information for each row of the group (the matricula column)

    Since you don't seem to be displaying that, you can ignore it, but if there are other columns with different values, then you need to determine how you will handle different records in your group.

     

    Otherwise, your Items property for the Gallery can be:

    ForAll(
     GroupBy(
     'Horas Extras',
     "Titulo",
     "_items"
     ),
     Patch({Titulo: Titulo}, First(_items))
    )

     

    I hope this is helpful for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard