Question

I have one custom list with Yes/No type field in our SharePoint site(tried both on 2013 and 2016 on premise).

I did below steps:

  1. Created one page.
  2. Added OOTB SharePoint List Filter web part on Yes/No type field.
  3. Added List web part of the same list.
  4. Connected this web part with same field on List web Part.

And When I tried to filter the data in List web part by selecting Yes or No choice from filter dropdown, For both choices it is showing me the items with value "No" selected only.

Is it a bug or is there something I am missing to configure to get it working??

Thanks for your help!

Was it helpful?

Solution

It is a known issue. The Yes/No value is 1 or 0.

It can not be compare to boolean type true/false or string type Yes/No.

You can use a Choice Filter instead, like given below:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top