Hi there,
Maybe the following link will help you out. I created many smart playlists using this excellent tip. (Credit to @TeknoJunky)