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 / Gallery sort by status...
Power Apps
Unanswered

Gallery sort by status then other

(0) ShareShare
ReportReport
Posted on by 115

Hi,

 Am wondering if this could be done.

  I can show a gallery with a onedrive excel table. Checking for the 'status' first, then 'project' and then the 'location'. 

 

Excel onedrive:

 

SortByColumns(Search([@Table1]; TextSearchBox1.Text; "TotaalGereed";"Project";"Locatie"); "TotaalGereed"; If(SortDescending1; Descending; Ascending))

 

 

Works pretty well, but using something like this with a sharepoint table it seems not working at all. 

 Is there a workarrond for this?

the only thing that works for me right now is.

 

sharepoint:

 

SortByColumns(Filter([@FMTproj_DB]; StartsWith(Title; TextSearchBox1.Text)); "Title"; If(SortDescending1; Descending; Ascending))

 

 

 

 

but that will only show the order by location.

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @NielsNachtegaal ,

     

    Do you want to filter the SharePoint list by 'status'/'project'/'location'? If so, could you please show me these columns' name and datatype?

     

    I assume status is choice column and do not allow multiple selections , you could try this formula to filter the data.

     

    Filter([@FMTproj_DB]; StartsWith(Status.Value; TextSearchBox1.Text))

     

    Best Regards,

    Bof

  • NielsNachtegaal Profile Picture
    115 on at

    Hi Bof,

    Thanks for the reply/sugestion,  as it seemed to have some result, altough I Get a handover error, but the 'TotaalGereed' (Title) being 'true' now show on top of the gallery.

    What I wanted to achieve, is to have all projects being done sorted top or bottom, and able to search for the location/project. so I can see projects being finnished or not. Sadly with onedrive this works quite well. 

    Also I posted the table. 'TotaalGereed'(Title) is a bool/chooice and 'Project' is a single line of text)

     

     

    tableTemp.png

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard