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 / Search Against SharePo...
Power Apps
Answered

Search Against SharePoint Choice Field(along side text fields)

(0) ShareShare
ReportReport
Posted on by 240

Hello,

 

While this topic was addressed on the internet, I am not able to have Search formula work along side plane SharePoint text fields(that are working in search by themselves) in galley. The name of the choice column in SharePoint I am trying to add is called "Status Task" (internal SP  name "StatusTask").

 

Below is my formula(there is a "Sort" wrapper that can be ignored:

SortByColumns(
 If(
 !IsBlank(Search_tb.Text),
 Search(
 ActiveRequests,
 Search_tb.Text,
 "Title","Brand"
 ),
 ActiveRequests
 ),
 "ID",
 If(
 Sort_ddl.SelectedText.Value = "Ascending",
 Ascending,
 Descending
 )
)

  Thank you.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @nemanjasovic011 ,

    Try this

    SortByColumns(
     If(
     !IsBlank(Search_tb.Text),
     Search(
     AddColumns(
     ActiveRequests,
     "StatTask",
     StatusTask.Value
     ),
     Search_tb.Text,
     "Title",
     "Brand",
     "StatTask"
     ),
     ActiveRequests
     ),
     "ID",
     If(
     Sort_ddl.SelectedText.Value = "Ascending",
     Ascending,
     Descending
     )
    )

     

    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.

    Visit my blog Practical Power Apps

  • Verified answer
    nemanjasovic011 Profile Picture
    240 on at

    This is it. Thank you.

  • nemanjasovic011 Profile Picture
    240 on at

    Thanks

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard