# Excluding Members

There are pre-made conditions that let you target campaigns to a specific group of users - for example, members with set custom attributes.

<figure><img src="https://2658975168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNVX03KZzmrGwJihLiEx%2Fuploads%2FqyjpXRUwaBo8aJuiM6o1%2Fimage.png?alt=media&#x26;token=c793742d-9541-49bb-9252-c06012bd447e" alt=""><figcaption></figcaption></figure>

However, there is no predefined condition to exclude a group of users from the campaign. For example, you have a custom attribute called Debt, with two possible values set: true or false. Let it be that you want to set a campaign for all users, but not for those who are in debt with your app. The best way to do so is to create a condition using an expression.\
\
How to do it? To include a customer with a specific custom value, you would use an expression that looks like this:

```
agg(customer.labels).matchLabel('debt', 'true')
```

\
To exclude those users, you have to set the opposite of it, which you can accomplish by adding “!” at the beginning of it:

```
!agg(customer.labels).matchLabel('debt', 'true')
```

<figure><img src="https://2658975168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNVX03KZzmrGwJihLiEx%2Fuploads%2FCjyrAAc1JaqQC5jDkKpS%2Fimage.png?alt=media&#x26;token=054685ac-045d-4973-87bd-74fd791f4453" alt=""><figcaption></figcaption></figure>

This will allow you to create a campaign that affects all users except for those with the custom attribute Debt equal true.
