Copy details page record values into a variable and use that to filter table records

The table is added in the details page as a connected view thus the one available option is exhausted. I want to filter a table record in the details page further by using more connection values of the details record.