# Filter Expression Help

**URL:** https://community.mp3tag.de/t/filter-expression-help/18724
**Category:** Support
**Created:** [February 19, 2017, 1:51pm UTC](https://community.mp3tag.de/t/filter-expression-help/18724 "2017-02-19T13:51:13Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 19, 2017, 1:57pm UTC](https://community.mp3tag.de/t/filter-expression-help/18724/2 "2017-02-19T13:57:07Z")

</div>

> [@mrralan](#):
>
> I create my tags using Filename - Tag. I use %artist%\%title% which uses the folder name for the Artist tag and the filename for the Title tag.
> 
> I am now trying to search for ...
> 
> 1. Folder names that do not match the Artist tag
> 
> 2. Filenames that do not match the Title tag
> 
> What expression would I use for each of these?
> 
> Thanks.

See the FAQs on Filters: [Filter expressions](https://community.mp3tag.de/t/10080/3)

You are probably looking for this:

> [@](#):
>
> **Check if two fields have the same value:**  
> "$if($eql(%artist%,%band%),yes,no)" IS yes

or "IS no" if you want to see those that do not match

The folder name is stored in %\_directory%  
The file name is stored in %\_filename%

---

_[View the full topic](https://community.mp3tag.de/t/filter-expression-help/18724)._
