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 / Need help with filter ...
Power Apps
Unanswered

Need help with filter function

(0) ShareShare
ReportReport
Posted on by 14

hi,

I am trying to create an app with search/filter function using Powerapps via Ms Teams. I have inserted a sharedpoint List by inserting a "Data Table" and a "Text box" to key in the search text. 

With the "Data Table" selected, for Items, i key in "Filter(Proposal, StartsWith(ProposalAbstract_Column1,TextBox2.Text))". When i clicked preview, only row header seen. All my data disappeared and nothing happens when i type in the search box. 

 

Is there anything that i forgot to do? Thanks in advance.

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

    hi @paxdolphin 

     

    Your function is correct but please check your default value does not read "Text Box"  😉 and secondly i see you have TextBox2.Text - do you have any errors as TextBox2.Value is expected.

     

    Hope it helps,

    R

  • bapala Profile Picture
    247 on at

    Hi @paxdolphin,

    I tried with same formula (with textcolumn) as yours and it worked fine for me without any issue:
    Filter(Employees,StartsWith(Username,txtUserName.Text))

    In addition to @rubin_boer response, please try below also:
    May be worth to remove/refresh your datasource connection and try again. Sometimes this trick helps.

    Try these checks as well if the column is People or Choice:
    if people: ProposalAbstract_Column1.DisplayName
    if it is choice type: ProposalAbstract_Column1.Value

  • paxdolphin Profile Picture
    14 on at

    Thanks for all your replies. However I still cannot figure out where i went wrong. I have no programming background so sorry if I am doing really silly mistakes.

     

    I created a very simple table to troubleshoot. Table name is Tests. only 3 rows of data. Once i keyed in the filter code, I get a blank screen as shown below. My text box has been cleared empty value =""

    Really not sure what went wrong 😞

    Also when i created my columns, I named them as "Address" and "Name". How come they became "Address" and "ThisItem.'Name........"? and there is a 3rd field as well. 

     

    I am using the MS Teams version of Power Apps. Is this different from the web version? Lesser features? Been watching some youtube videos and noticed some differences. For example for my text box, i cannot find "Fill" attributes.

     

    Any help is much appreciated. Thanks

    Capture1.JPGCapture2.JPGCapture3.JPG

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard