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 Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Combine Drop/Add Columns with Filter sort

Posted on by

What's the best way to combine these two expression if  I want to Sort and Filter?

 

DropColumns(
SortByColumns(
AddColumns(
Test,
"departmentName", Department.Name,"facilityName", 'Facility'.Name
),
varSort,
If(blnSortDescending1,Descending,Ascending) //or descending
),
"departmentName","facilityName"
);


DropColumns(
Filter(
AddColumns(Test,
"facilityName", Facility.Name
),
//your criteria
StartsWith(facilityName,txtDeptFilter.text)
),
"facilityName"
)

 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard

Featured topics