Dynamic Filter on UX Page



I am trying to create a dynamic filter on one of my UX pages. I have a grid showing a breakdown of total compensation by cost center with the page selector on cost center. I then have another grid that breaks out total compensation by each individual employee. The source module for the employee breakdown is not dimensionalized by cost center, but I have a list formatted line item for cost center included. Is there a way to have the employee specific grid also filter employees to show only employees attributable to the cost center selected on the page selector?