Been searching for a few weeks for a solution to this but have come up blank.
I have table of data similar to this:
client_ref supplier_key client_amou
Make a new query for the data you want and join it by inner join to the query that produces the sums to restrict it to the lines you want.