# BFilter does't work

**URL:** <https://community.opentargets.org/t/bfilter-doest-work/990>\
**Category:** GraphQL API\
**Created:** [10 March 2023 16:00 UTC](https://community.opentargets.org/t/bfilter-doest-work/990 "2023-03-10T16:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zh\_liu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/zh_liu/32/390_2.png) [@zh\_liu](https://community.opentargets.org/u/zh_liu)\
**Post date:** [10 March 2023 16:00 UTC](https://community.opentargets.org/t/bfilter-doest-work/990/1 "2023-03-10T16:00:48Z")

</div>

![image](https://europe1.discourse-cdn.com/flex017/uploads/opentargets/original/1X/05a2d2188ec19f83a1aa0f0413a0ea24b5261e0a.png)

When I query associated targets, I only want a small number of targets with high association score returned. Since there isn’t a ‘size’ field in associatedTargets, I try to use BFilter. But no matter what value I set, it always return 0 count with empty rows.

---

<div class="post-metadata">

**Author:** ![Annalisa\_Buniello](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/annalisa_buniello/32/426_2.png) [@Annalisa\_Buniello](https://community.opentargets.org/u/Annalisa_Buniello)\
**Post date:** [13 March 2023 12:59 UTC](https://community.opentargets.org/t/bfilter-doest-work/990/2 "2023-03-13T12:59:40Z")

</div>

Dear zh\_liu,  
welcome to our Community!  
The BFilter is a “search” filter, so it will only work with entities (e.g. disease, target) and not with values.  
Your post made us realise that we need to improve our API documentation in general - and we have created a [ticket](https://github.com/opentargets/issues/issues/2906) for this.

Thank you for reaching out!  
Annalisa
