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 / Filter Data Table with...
Power Apps
Answered

Filter Data Table with text input control & dropdown controls

(1) ShareShare
ReportReport
Posted on by 203
Hi community
 
need some help with filtering a data table with text input control & dropdown controls. I would like to combine all possibilities of the search. So textinput & dropdown together or each alone. 
The textinput search works so far. Only in combination with dropdown it does not work properly. 
 
 
I am grateful for any help.
 
 
 
 
 
 
 
 
 
 
 
 
Filter(Demo_Vertragsmanagement;
  StartsWith(
    Titel;
    TextInput1.Text
  ) || StartsWith('Verantwortlicher Mitarbeiter'.DisplayName;
  TextInput1.Text
  ) && ( Lieferant.Value = Dropdown1.Selected.Value || Dropdown1.Selected.Value = Blank() = Dropdown1.Selected.Value || Dropdown1.Selected.Value = Blank() )
   && ( Status.Value = Dropdown1_1.Selected.Value || Dropdown1_1.Selected.Value = Blank() )
   && ( VertragArt.Value = Dropdown1_2.Selected.Value || Dropdown1_2.Selected.Value = Blank()
   )
)
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,079 Most Valuable Professional on at
    You need a couple of extra brackets and you also had an error in the first drop-down filter. Also Len() is better as it covers both IsBlank and IsEmpty.
    Filter(
       Demo_Vertragsmanagement;
       (
          StartsWith(
             Titel;
             TextInput1.Text
          ) || 
          StartsWith(
             'Verantwortlicher Mitarbeiter'.DisplayName;
             TextInput1.Text
          )
       ) && 
       ( 
          Lieferant.Value = Dropdown1.Selected.Value || 
          Len(Dropdown1.Selected.Value) = 0 
       ) && 
       ( 
          Status.Value = Dropdown1_1.Selected.Value || 
          Len(Dropdown1_1.Selected.Value) = 0 
       ) && 
       (
          VertragArt.Value = Dropdown1_2.Selected.Value || 
          Len(Dropdown1_2.Selected.Value) = 0
       )
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     

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