cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rpack
Frequent Visitor

Powerapps Filter Function

I am having a problem with the PowerApps Filter Function. I have a SP list that I am trying to connect a gallery to. I need to filter it based on the results of a certain column. For some reason the filter is Filtering out the only row that it shouldn't filter out.

 

As you can see here I have a filter based on the rejected Column, only true results should show. All the the results have the rejected value being false. I also attached the Sharepoint List to show that only one should have the true value.

 

Is there a problem with the filter function that I should know about, or is there something that I'm just missing?

AppView.PNGSPView.PNG

2 ACCEPTED SOLUTIONS

Accepted Solutions
tchin-nin
Memorable Member
Memorable Member

Hi @rpack

Using =0 (for false) or =1 (for true) in your filter condition should work .

 

Theo

View solution in original post

tchin-nin
Memorable Member
Memorable Member

 Well I have the same kind of warning but the filter is working and I haven't found any other way to filter a SharePoint Yes/No column.

 

Theo

View solution in original post

7 REPLIES 7
PK_Hong
Resolver II
Resolver II

Hi @rpack

 

A quick check.

You Reject results are either "Yes" or "No".

So, I would say that your Filter shall read as following

- Filter(Conflictchecks, reject = "Yes") if this is what you want to show.

 

Wish I am correct.

have a nice day.

rpack
Frequent Visitor

SharePoint Yes/No Columns show as true/false in Powerapps. The toggles just show as "Yes"/"No" for true/false values by default. If I set it to "Yes/"No" in the filter it says that it is an incompatible type, because beooleans are not compatible with strings.

tchin-nin
Memorable Member
Memorable Member

Hi @rpack

Using =0 (for false) or =1 (for true) in your filter condition should work .

 

Theo

View solution in original post

rpack
Frequent Visitor

SAdly, that doesn't work either. It doesn't accept a number type, because it is a boolean.

 

Type.PNG

tchin-nin
Memorable Member
Memorable Member

 Well I have the same kind of warning but the filter is working and I haven't found any other way to filter a SharePoint Yes/No column.

 

Theo

View solution in original post

rpack
Frequent Visitor

Thank you so much! I'm annoyed that I'm still getting a type error, but I'm really happy that works. Thanks again.

@rpack

 

Well, sometimes when "=" doesn't work, please consider to use "in" or "exactin".

TQ

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,862)