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 / Issue in Filtering dat...
Power Apps
Unanswered

Issue in Filtering data table in dropdown boxes

(0) ShareShare
ReportReport
Posted on by 56

Hi, 

 I have created a canvas app Using data table. Excel spreadsheet is my resource. In my data table I have 3 columns but I need to filter only 2 columns so I have created 2 dropdown boxes for that 2 particular columns . Now both dropdown box is working but the problem is each dropdown box is working individually . If I click the 1st dropdown I can able filter the specific data after that If I moved to select the 2nd dropdown data the 1st dropdown data is cleared automatically I can able to see only 2nd dropdown data. But I need to see both columns data filtered at a same time while I select the data from dropdown box. Can anyone help me with this? 

Filter dropdown 1.JPG
Filter dropdown 2.JPG
Categories:
  • narayan225 Profile Picture
    2,547 Moderator on at

    @Roar1 

     

    You can apply filter with if condition for this. However, you might get delegation error if you have large datasets.

    Filter(
     TableName,
     If(
     IsBlank(filter1.SelectedText),
     true,
     Column1 = filter1.SelectedText
     ),
     If(
     IsBlank(filter2.SelectedText),
     true,
     column2' = filter2.SelectedText.Value
     )

    hope this helps.

     

    Cheers!

  • Roar1 Profile Picture
    56 on at

    Still facing the same issue once I moved to the 2st dropdown to filter data the 1st filtered dropdown data are automatically clearing . Previously I was using the below code .  I'm using this code for both filter and search option

    Filter(
     Table1,
     (Startswith (
     'Report Name',
     TextInput3.Text
     ) || Startswith (
     '4itb report status',
     TextInput3.Text
     ) || Startswith (
     Notes,
     TextInput3.Text
     )) && ('4itb report status'=Dropdown2.Selected.Value || Dropdown2.Selected.Value = Blank())&& (Notes=Dropdown2_1.Selected.Value || Dropdown2_1.Selected.Value = Blank())) 
    

     I have used your code instead of the above code but still not able to filter both dropdown boxes at the same time . I'm able to filter only one at a time If I tried to click the 2nd dropdown box  the 1st dropdown box filtered data are clearing automatically and showing all the data

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard