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 / No workable scenario f...
Power Apps
Answered

No workable scenario for boolean in a droptown filter (SP Datasource)

(0) ShareShare
ReportReport
Posted on by 3,340

I have a yes/no column in SP.  All I want to do is show the "yes" items in a dropdown.  Simple, yes?  Well... you would think.  No combination of statements yeilds a proper result.

 

First attempt:

 

1. The logical option:  Filter(PDM_PDF_Post,Repost=true)

Result:  I get only "no" items.  No "yes", nor blank.  No statement errors.

 

2. The sanity check:  Filter(PDM_PDF_Post,Repost=false)

Result:  I get only "no" items.  No "yes", nor blank.  No statement errors. (Same as #1... ???)

 

2. The secondary option:  Filter(PDM_PDF_Post,Repost=1)

Result:  Correct Items, but a type mismatch.  Warning that it cant evaluate my formula.  Despite the correct results, its against my sensibilities to leave it.  (left Boolean, right Number)

 

Other combinations of type conversions to not work.  Since there is no boolean convertion statement, that is not an option.  How to resolve this?

 

 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,713 Super User 2026 Season 1 on at

    Hi @martinav

    I think this might be due to the SharePoint yes/no column type bug. There's a little bit more detail here.

    https://powerusers.microsoft.com/t5/General-Discussion/Filter-using-Checkbox/m-p/200364#M64601

    Could you try this to see if it works?

     

    Filter(PDM_PDF_Post,Repost<>false)

     

  • martinav Profile Picture
    3,340 on at

    Well, I will say it works "better".  But only that it does not give me the message of it not being able to resolve the statement, but it does say it is non-delegable.  Which seems quite silly.  That is still not really acceptable.   I also have to throw in the blank condition.  Which makes the statement more complex, which is unnecessary.  Its only one item on the page, so the increased inefeciency will not be noticeable.  But still, its so fundamentally wrong that you cannot make a proper statement for an =true condition.

     

    Filter(PDM_PDF_Post,Repost<>false And Repost<>Blank())

     

     

    I will likely change the SP column to text, and give up on the yes/no.

  • Verified answer
    martinav Profile Picture
    3,340 on at

    Well, I shouldnt of had to do it, but I ended up making the column a text line, 16 char long, and using the text "yes" and "no".  Boolean columns take less space (one bit vs 8+).  I dont think this should have been necessary, but it was the only way to eliminate the delegation and type problems.

     

    Filter(PDM_PDF_Post,Repost="yes")
  • timl Profile Picture
    36,713 Super User 2026 Season 1 on at

    Thanks for highlighting the delegation issues @martinav. This is obviously a bug, so I hope it'll be fixed soon.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard