This is only applicable to single and multi-selection fields. To use this, you need to go to:
Portal Tables
Click on one of the tables
Layout section
Turn on Allow users to filter linked records on the portal toggle
Turn on Show dropdown filters on the portal toggle
💡Note
This dropdown filter uses the 'has any of' condition. This is how it appears within the portal: