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 / Trying to filter based...
Power Apps
Answered

Trying to filter based on a yes/no field

(1) ShareShare
ReportReport
Posted on by 56

Hi everyone, I'm trying to filter dropdown items based on Yes/No field from dataverse,  if the field is false then the item should not be available in the dropdown selection choices. I have a column template Id as the primary name column and the yes/no column name Is Active. 

I have try this formula with no luck. 

patricia_r_0-1635428467804.png

 

I am getting this error too: 

patricia_r_0-1635430236369.png

 

Any idea how to go about this issue? 

I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,411 Super User 2025 Season 2 on at

    Hi @patricia_r 

    To filter by a yes/no column, you would set the items property of the dropdown to this:

    Filter(YourTable, 'Is Active'= 'Is Active (YourTable)'.Yes)

    If you want to display the 'template id' value in the dropdown, you can set the Value property of the dropdown to 'template id'.

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    hello @patricia_r,

     

    Try using this

     

    Filter(AddColumns('Template markets',"hidenotactive",'Is Active'= 'Is Active (YourTable)'.Yes),hidenotactive).'Template ID'

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • mwal Profile Picture
    20 on at

    Hi I'm looking to do the same thing but not all items I want to show have the yes / true value populated. So I'm basically just trying to figure out how to exclude all items that have a no value in the "Visible" column. Any ideas?

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