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 / Sort, Filter and Group...
Power Apps
Answered

Sort, Filter and Grouping in a gallery

(0) ShareShare
ReportReport
Posted on by

Hi Everyone, I'm fairly new to PowerApps and hoping you can help...

 

Right now I have a gallery(below) where I am showing the logged in user their tasks that are ready to be worked on. These tasks can be associated with multiple projects, and will not always be "created" at the same time so I can't rely on that to keep tasks from the same project together. I would like to add a GroupBy to this but can't figure out the details. 

 

Some more information: This is backed by Sharepoint lists. Most of the columns are coming right out of my CommsProjectTasks list, but the Project name in the first column is coming from a list called CommsFormData. LookUp(CommsFormData, ID=ThisItem.CommsProjectID, Title)

 

mvandelinde_0-1621517171326.png

 

Thank You!

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    Are you really sure that GroupBy is what you want?  Or, are you trying to simply group the Project names "together" in the gallery?

    In other words, looking at your picture - how is it that you want it to look differently?

  • Community Power Platform Member Profile Picture
    on at

    @RandyHayes 

    Ahh, that was a bad example, here is an example that is showing my problem. Because tasks can be added ad hoc there is a potential for tasks to show up out of order. In the example below you can see that I have tasks from project "Test Three" separated on the gallery. Thank you.

    mvandelinde_0-1621525660680.png

     

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, so I don't believe you want to go down the road of GroupBy in this case as that really is about data shaping.  It seems your answer would be to simply sort by the project name and then perhaps by something else perhaps secondary - like a date.

    That would give you a gallery with all the project names together and (if a secondary sort by date) perhaps by date.

    Does this seem more reasonable? 

  • Community Power Platform Member Profile Picture
    on at

    @RandyHayes 

    This makes so much sense! Thank you!

    (I seem to have a habit of making things harder than they have to be.)

  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    No problem!

    Rule #1 in PowerApps - Keep it Super Simple!!

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard