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 / Research field and Sort
Power Apps
Unanswered

Research field and Sort

(0) ShareShare
ReportReport
Posted on by 94

Hello every one,

i'm a newbie of Power apps.

in the Browse Gallery i have this :

SortByColumns(Filter([@Time_Sh]; StartsWith(Title; TextSearchBox1.Text)); "Title"; If(SortDescending1; Descending; Ascending))

 

My sharepoint list has a "choise" field named "Chi". I'd like to order and research by this field. I had a look at other answer, i try to use "Chi.value = TextSearchBox1.text, but without result.

What is the right command that i have to use ?

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

    @ancorte 

    If you are using a Choice type field, it is better to use a dropdown control for filtering your list than a textinput box. 

    put a dropdown on the screen with the Items property Choices([@Time_Sh].Chi) and set the Items property of the browse gallery to 

    SortByColumns(
     Filter(
     [@Time_Sh]; StartsWith(Title; TextSearchBox1.Text) & 
     Chi.Value=Dropdown1.Selected.Value);
     "Title"; If(SortDescending1; Descending; Ascending)
    )
  • ancorte Profile Picture
    94 on at

    Sorry for my delay in the answer. I've put all the elements, but i'm not able to see the elements in the app (also before to make the modification). In my sharepoint list the Title column is always empty (i've decided to use another column): could this be the problem ? Thanks for your help. Herewith you cna find the details of my sharepoint list.

    Immagine TimeSh.png
  • ancorte Profile Picture
    94 on at

    Anyone can help me ? 

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard