Clickable KPI tabs that update the filters

In a system, I am working on I want to create a KPI which is also a tab, like in the image from google analytics and I want it to affect the filters as well:

  1. Do you know any reference that behaves like that?
  2. Any important point I should take into consideration?

enter image description here