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 / How to FILTER a Datave...
Power Apps
Unanswered

How to FILTER a Dataverse YES/NO field

(0) ShareShare
ReportReport
Posted on by 2,297
Filter(colCompras, nn_aprovacaofinal = true)

 

This would be so good...

 

But it obviously doesn't work.

 

nn_aprovacaofinal is a YES/NO field.

 

What's the trick!?

Categories:
  • LaurensM Profile Picture
    12,516 Moderator on at

    Hi @WebPortal,

     

    That code should do the trick. Due to the Explicit Column Selection (the app only loads in the columns you actually need) you may have to ClearCollect your collection again after writing that code in your app - saving, closing and reopening the app after writing that code could also do the trick.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • timl Profile Picture
    37,340 Super User 2026 Season 2 on at

    Hi @WebPortal 

    The syntax would be very similar to the syntax from your other post - eg, you would use the yes/no enumeration.

    The formula would look like this:

    Filter(colCompras, 
     nn_aprovacaofinal = 'nn_aprovacaofinal (YourDataverseTable)'.Yes
    )

     

    Just like before, you would use the Intellisense in the editor to work out the correct identifier for 'nn_aprovacaofinal (YourDataverseTable)'.

  • WebPortal Profile Picture
    2,297 on at

    WebPortal_0-1691528128591.png

    Unfortunately, no intellisense.

  • timl Profile Picture
    37,340 Super User 2026 Season 2 on at

    @WebPortal - if you type the name of your underlying table, does the Intellisense highlight the name of the enumeration?

     

    To give an example, here's an example of how the syntax looks like against a table called PropertyDocuments and a yes/no column called ContainsPersonalInfo.

    timl_1-1691535235661.png

     

     

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard