# Dataset setFilter only allowing eq? Errors on ne or isNotEmpty

**URL:** <https://forum.wixstudio.com/t/dataset-setfilter-only-allowing-eq-errors-on-ne-or-isnotempty/51886>\
**Category:** Ask the community\
**Tags:** cms, code, wix-members-area\
**Created:** [August 25, 2023, 11:03pm UTC](https://forum.wixstudio.com/t/dataset-setfilter-only-allowing-eq-errors-on-ne-or-isnotempty/51886 "2023-08-25T23:03:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zuroma310](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/zuroma310/32/81788_2.png) [@zuroma310](https://forum.wixstudio.com/u/zuroma310)\
**Post date:** [August 25, 2023, 11:03pm UTC](https://forum.wixstudio.com/t/dataset-setfilter-only-allowing-eq-errors-on-ne-or-isnotempty/51886/1 "2023-08-25T23:03:36Z")

</div>

I have a repeater hooked up to to a dataset to show recently-joined members to my site.

But I only want to show members who’ve entered their nickname. As a test, when I try filtering on “eq” it works:

`$w("#latestMembersDataset").setFilter( wixData.filter().eq("nickname","Bob") );`

But when I do the real filter:

`$w("#latestMembersDataset").setFilter( wixData.filter().isNotEmpty("nickname") );`

I get an error: Validation error. Invalid filter operation $ne for field ‘nickname’.

I’ve also tried .ne(“nickname”,“”) and it’s the same. It does’t matter what field I test on, only “eq” works but not “ne” or “isNotEmpty”.

Does anyone have any ides why this is happening?

---

<div class="post-metadata">

**Author:** ![noahlovell](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/noahlovell/32/118920_2.png) [@noahlovell](https://forum.wixstudio.com/u/noahlovell)\
**Post date:** [August 29, 2023, 5:01pm UTC](https://forum.wixstudio.com/t/dataset-setfilter-only-allowing-eq-errors-on-ne-or-isnotempty/51886/2 "2023-08-29T17:01:22Z")

</div>

Depending on which database you’re using, it’s worth taking a read over these dosc:

[https://www.wix.com/velo/reference/wix-members-backend/"privatemembersdata"-collection-fields](https://www.wix.com/velo/reference/wix-members-backend/%22privatemembersdata%22-collection-fields)  
[https://www.wix.com/velo/reference/wix-members-backend/"publicdata"-collection-fields](https://www.wix.com/velo/reference/wix-members-backend/%22publicdata%22-collection-fields)  
[https://www.wix.com/velo/reference/wix-members-backend/"fulldata"-collection-fields](https://www.wix.com/velo/reference/wix-members-backend/%22fulldata%22-collection-fields)

They’ll provide you with information over what can be filtered/sorted according to the fields in each database 🙂

Hope that helps
