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 with Yes/No col...
Power Apps
Unanswered

Filter with Yes/No column in dataverse

(0) ShareShare
ReportReport
Posted on by 48

Hello,

I have a question about a filter.
I have two databases in Dataverse.
- employees
- projects
I only want to display the data from the employee database that matches the selected dropdown menu xyz and is marked as Active with Yes in the project database. The column in the project database is a Yes/No column.

So it would be something like this, but unfortunately it doesn't work:
Filter(Employee, Name=Dropdown1.Selected.Name) && Filter(Project, Active = Active.Yes)

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @BestJust 

     

    You should be using a lookup function here.

     

    The filter function should look like below:

     

    Filter(
    Employee,
    Name = Dropdown1.Selected.Name &&
    Lookup(
    Project,
    Name = Dropdown1.Selected.Name,
    Active.Yes
    )
    )

     

    Replace the Name in Project Lookup with your respective column.

    Your expression wont look exactly same, you will have to do some modifications.

     

    I hope this helps 🙂

     

     

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @BestJust

    Do you mean that both Employee and Project table shares a same Name column?

    If there is also a Name column existing in Project table, please modify your formula as below:

    Filter(Employee, Name=Dropdown1.Selected.Name&& Name in Filter(Project, Active = Active.Yes).Name)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard