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 / Sort Column together W...
Power Apps
Answered

Sort Column together With, Filter and Search Filter

(0) ShareShare
ReportReport
Posted on by 253

Hi guys.
I need help put "Sort" formula on the Specific Column (called FIFO) Combined in the formula below.  The formula below it's ok, but now I need to insert Sort in it but I don't know how to combine it in the below formula:

With(
{
wFilter:

Filter(
InboundList,
Status_Fluxo = "1-Recebimento" || Status_Fluxo = "6-Retorno Tubing" || Status_Fluxo = "7-Retorno Correção"
)},
Search(wFilter,SearchTextInput.Text,
"PO_Item",
"PartNumber", "Status_Fluxo"
))

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @WendeReisss 

    With({wFilter:Sort(Filter(InboundList,
     Status_Fluxo = "1-Recebimento" || 
     Status_Fluxo = "6-Retorno Tubing" || 
     Status_Fluxo = "7-Retorno Correção"
     ),FIFO,SortOrder.Ascending //or FIFO.Value (if it is choice or lookup)
     )
     
     },
    Search(wFilter,SearchTextInput.Text,
    "PO_Item",
    "PartNumber", "Status_Fluxo"
    ))
  • Verified answer
    WarrenBelz Profile Picture
    155,756 Most Valuable Professional on at

    Hi @WendeReisss ,

    You can actually put it either top or bottom - top example

    With(
     {
     wFilter:
     Sort(
     Filter(
     InboundList,
     Status_Fluxo = "1-Recebimento" || 
     Status_Fluxo = "6-Retorno Tubing" || 
     Status_Fluxo = "7-Retorno Correção"
     ),
     FIFO,
     SortOrder.YourChoice
     )
     },
     Search(
     wFilter,
     SearchTextInput.Text,
     "PO_Item",
     "PartNumber", 
     "Status_Fluxo"
     )
    )

    or lower

    With(
     {
     wFilter:
     Filter(
     InboundList,
     Status_Fluxo = "1-Recebimento" || 
     Status_Fluxo = "6-Retorno Tubing" || 
     Status_Fluxo = "7-Retorno Correção"
     )
     },
     Search(
     Sort(
     wFilter,
     FIFO,
     SortOrder.YourChoice
     ),
     SearchTextInput.Text,
     "PO_Item",
     "PartNumber", 
     "Status_Fluxo"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • WendeReisss Profile Picture
    253 on at

    @Drrickryp  & @WarrenBelz  

    Thank you for your solution!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard