# Setting up a filter

**URL:** <https://forum.mautic.org/t/setting-up-a-filter/11712>\
**Category:** Product Support\
**Created:** [November 18, 2019, 5:27pm UTC](https://forum.mautic.org/t/setting-up-a-filter/11712 "2019-11-18T17:27:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![madi\_grant](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/madi_grant/32/593_2.png) [@madi\_grant](https://forum.mautic.org/u/madi_grant)\
**Post date:** [November 18, 2019, 5:27pm UTC](https://forum.mautic.org/t/setting-up-a-filter/11712/1 "2019-11-18T17:27:56Z")

</div>

Hello

I need to set up a segment with filters that will remove email addresses from a specific company and only pull in clients who are CEO or Sales Director.

How can I do this please?

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [November 18, 2019, 6:12pm UTC](https://forum.mautic.org/t/setting-up-a-filter/11712/2 "2019-11-18T18:12:53Z")

</div>

Create custom field named `Job Title`.  
Alias `jobtitle`.  
Object `Company`.  
Group `Professional`.  
Data Type `Select`.  
Default value `Sales Director`.  
Options - Add a value

- Label `CEO` - Value `ceo`
- Label `Sales Director` - Value `salesdirector`

Add filter to segment.  
Filter `Job Title`.  
= `CEO`  
or  
= `Sales Director`

Go to your contacts and assign the `Job Title` to specific contacts who are CEOs and Sales Directors. When the next cronjob occurs, contacts without those assignments will be moved out of the segment leaving only the ones that you’ve assigned the specific designation.
