What I need to do is filter the below data to the highest FM and FY for each group of supplier numbers and filter out the other rows. The data has a lot of different suppliers with multiple lines of data. For example the supplier number 1687 I would only want to keep the row with FY 2021 & FM 10.

Any help would be appreciated!