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 Apps
Unanswered

Group By

(0) ShareShare
ReportReport
Posted on by

Hello i have a gallery which display flight number and date but adds a flight no to each new line. How do i group the gallery by Flight number and date. 

 

This is code i have entered

 

GroupBy('Flight Folder Upload',"ETD/ETA", Filter('Pallets on Hand', 'ETD/ETA'= gal_CargoLoadULDFlightDetails.Selected.'ETA/ETD(Use Original ETA/ETD)' And StartsWith('Flight No', gal_CargoLoadULDFlightDetails.Selected.'Name ({Name})'))))

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    Hi @Aliwells632 ,

     

    Your description does not make sense to me. Could you share a sample of your data together with the output you're expecting? I suggest doing this in Excel and then pasting it as an image in your reply.

  • Aliwells632 Profile Picture
    on at

    So effectictly a new entry would be Pallet No, CW etc etc. Then what you do is assign each pallet number to Flight number and date. But because you do this to each ACP it comes up with a new line. What i want to happen is it groups all the Flight No and Dates together so you see all ACP allocated to same flight No and date

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Aliwells632 - as requested earlier, please share a sample of your data together with the expected result, you will have a solution a lot quicker.

  • Aliwells632 Profile Picture
    on at

     

    Its the gallery with the 6629. i want them all grouped

    Sample.jpg
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Aliwells632 ,

     

    Forget the Power App.

     

    Just "draw" an example of your data in a table (e.g. in Excel), and then draw an example of how you want them grouped.

  • Aliwells632 Profile Picture
    on at

    I want it in the gallery down left all RR6629 on 30 to be one entry like in this list

    Sample 2.jpg
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Aliwells632 ,

     

    You will need to build out a Grouped Gallery for this sort of functionality.

     

    https://www.youtube.com/watch?v=57ADxeo_13k 

     

    https://www.matthewdevaney.com/group-the-items-in-a-power-apps-gallery/ 

     

    You could also use Nested Galleries but in my experience, these result in poor performance, particularly if you know your data will reach high volumes.

     

    https://www.youtube.com/watch?v=25_bdexevGk&t=288s 

     

    https://www.youtube.com/watch?v=MDhIjM08u-w&t=552s

     

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

     

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard