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 / Filter Datatable based...
Power Apps
Unanswered

Filter Datatable based on 4 Dropdown Value

(0) ShareShare
ReportReport
Posted on by 16

Screenshot 2023-06-05 143648.jpgI want to filter datatable based by use 4 dropdown

How should I write the formula? 

 

Categories:
  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Benjarat -

     

    1. What are the data types for Department and Section? Choices columns?
    2. What is your Data Source?
  • Ethan_009 Profile Picture
    4,840 Moderator on at

    Hi @Benjarat ,

     

    You can try the following syntax, replace values as needed

    Filter(
     DataSource,
     (
     (IsBlank(dropdown1.Selected.Value) || dropdown1.Selected.Value in Department)
     &&
     (IsBlank(dropdown2.Selected.Value) || dropdown2.Selected.Value in Section)
     &&
     (IsBlank(dropdown3.Selected.Value) || dropdown3.Selected.Value in Shift)
     )
    )

     

    Hope this helps

  • Benjarat Profile Picture
    16 on at

    DataSource is E_leaving_Record

    Date is DatePicker >>> Title column on Sharepoint list

    Department is Dropdown "FindDepartment" >> Department column on Sharepoint list

    Section is Dropdown "FindSection" >> Section column on Sharepoint list

    Shift is Dropdown "FindShift" >> Shift column on Sharepoint list

     

    All values are text (no numbers).

  • Benjarat Profile Picture
    16 on at

    Thank you so much 

    I will try it

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    Leave this one with you @Ethan_R 

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