web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Named Formula Filter e...
Power Apps
Unanswered

Named Formula Filter error with SharePoint Boolean values

(0) ShareShare
ReportReport
Posted on by 66
I have a SharePoint list called "User" with a boolean field called "IsPolicyOwner".  The following works on any screen within the app.
 
Filter(User, UserType="App" && IsPolicyOwner)
 
What fails is if I create a named formula and then try to filter that formula by the boolan value.
 
App.Formulas:
fxAppUsers = Filter(User, UserType="App")
 
 
On any screen:
Filter(fxAppUsers, IsPolicyOwner)
 
The result seems to remind me of the old issue querying boolean values.  I can use the condition IsPolicyOwner=1 and the filter works and in the process I receive a data type warning.  This was the workaround until Microsoft fixed the issue.  
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Named Formula Filter error with SharePoint Boolean values
    Instead of just using the boolean have you tried using a formula?
     
    Filter(fxAppUsers, IsPolicyOwner = true);

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • pdog763 Profile Picture
    66 on at
    Named Formula Filter error with SharePoint Boolean values
    @Pstork1- Yes, I did try adding a condition IsPolicyOwner=true and the result was incorrect.  I can't remember if it showed all FALSE values or if it ignored it completely but I knew it was wrong because I only have a few records where the condition is true.  I believe it was all FALSE records and again, this reminds me of a past issue with SharePoint boolean values that existed a long time before it was corrected a couple years back.
     
    I'm not looking for a fix.  This was just a warning to other developers, especially newer ones who did not experience the boolean issue.

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard