cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Sort based on priority of columns

Hi, I'm very new to powerapps.... I just wanted to know if there is any way to sort results in the gallery on column preference after filtering my SharePoint list based on 3 text columns namely domain, description, use. Like, I want to display the results that matched the domain column above the results that matched the description, and so on... And I'm using 'in' to match records through filter.

i.e.

Filter(Mylist,InputText1.Text in Domain ||InputText1.Text in Description||InputText1.Text in Use)

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Sort based on priority of columns

I hope this helps:
https://powerusers.microsoft.com/t5/Building-Flows/Microsoft-Flow-Search-List1-in-SharePoint-for-a-v...

 

You can use Sort( <table>, <sorting column>, <Descending or Ascending> ) to sort items.

Filter(Mylist,InputText1.Text in Domain ||InputText1.Text in Description||InputText1.Text in Use) is table.

Does it work?

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,422)