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 / SortByColumns with Sea...
Power Apps
Unanswered

SortByColumns with Search and Filter

(1) ShareShare
ReportReport
Posted on by 151

Hi I already have a function with search and filtering that works, but im trying to add a SortByColumns on top of it

 

this is whats already working:

Filter(DenmarkUAI, StartsWith('Customer name', SearchDK.Text)
&& (CBProdInvDK.Selected.Value in 'Products involved'.Value || CBProdInvDK.Selected.Value = Blank())
&& (CBReasonUAIDK.Selected.Value in 'Reason for UAI'.Value || CBReasonUAIDK.Selected.Value = Blank())
&& (CBStatusDK.Selected.Value in 'Investigation Status'.Value || CBStatusDK.Selected.Value = Blank()))

 

And this is what im trying to add on top of it 

 

SortByColumns(Filter(DenmarkUAI, StartsWith('Customer name', SearchDK.Text)
&& (CBProdInvDK.Selected.Value in 'Products involved'.Value || CBProdInvDK.Selected.Value = Blank())
&& (CBReasonUAIDK.Selected.Value in 'Reason for UAI'.Value || CBReasonUAIDK.Selected.Value = Blank())
&& (CBStatusDK.Selected.Value in 'Investigation Status'.Value || CBStatusDK.Selected.Value = Blank())),
"InvestigationStatus", Descending)

 

So im trying to sort the column 'Investigation Status' with Descending order. thanks 

 

Wolfmeyn_0-1665138725333.png

 

 

 

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @Wolfmeyn 

     

    If you use

    "Investigation Status"

    instead of

    "InvestigationStatus"

     

    for the SortByColumns argument of ColumnName1

     

    Does it work then?

  • Wolfmeyn Profile Picture
    151 on at

    no didnt work

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
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard