Hi , @Dan_Aspire42
According to your description, you use the "Run a query against dataset" and this action return one column List.
I test it in my side , for example this is the return for the "Run a query against dataset" :

We can use the "Select action" to extract this array to a list:

item()?['fieldName']

Then in the last , if you want to get the intersection of the Client IDs , you can use this code:
intersection(body('Select_2'),body('Select'))
If you contains the duplicate value, you can use the union() function to get the unique ids.
union( intersection(body('Select_2'),body('Select')) ,intersection(body('Select_2'),body('Select')))

If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang