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 / Combine sort and Filter
Power Apps
Answered

Combine sort and Filter

(0) ShareShare
ReportReport
Posted on by 100

Hello everyone,

 

I'm trying to combine filter and sort into one function but I get an error. First filter and sort it alphabetically. Also my data is in Dataverse. I used sort by columns but then I get error saying delegation warning. My data isnt that huge (100 lines so far)

 

 

 

Sort(
 'shftplnr_employees_new',
 Name,
 SortOrder.Ascending
)


Filter(shftplnr_employees_new,Site=CURRENTSITE) 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at

    Your function needs to be in one formula: 

    Sort(
     Filter(shftplnr_employees_new,Site=CURRENTSITE) ,
     Name,
     SortOrder.Ascending
    )
    
    
  • nithishguptak Profile Picture
    100 on at

    why is that search not working ? I would like search based on two columns (Name and firstname)

     

    Sort(
     Search(
     Filter(shftplnr_employees_new,Site=CURRENTSITE), 
     'SearchText'.Text,
     Firstname),
     Name,
    SortOrder.Descending)
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Sort(
     Search(
     Filter(shftplnr_employees_new,Site=CURRENTSITE), 
     'SearchText'.Text,
     "Firstname"),
     Name,
    SortOrder.Descending)

    you need doubleqoutes around the column name

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard