All of the examples I have found for the PrimeNG p-table show the following example for filtering a table.
p-table