Show filtered values in widgets

Show filtered values in widgets

Hello,
I would like to know if the following is possible and how to achieve it:
Is there any way to have widgets which are linked to a variable (which has metadata) that would only showed the data when the value for example would be equal to a user's tag, or something along those lines.
For example, imagine a table which has 3 columns:
- Name - Last Name - Phone
And I have a variable called user:
user1 = {"variable": "user", "value": "felipe", "metadata": {"last_name": "gonzalez", "phone": 1245445344}}
user2 = {"variable": "user", "value": "manuel", "metadata": {"last_name": "perez", "phone": 2356365256}}
And I would like to be displayed in the table only the variables which have a value of "felipe" (this is set by the user when registering as a tag, it makes no sense to be the name but I hope you can understand the example), so my expected view of the table would be:
NAME      |      LAST NAME      |      PHONE
------------------------------------------------------
felipe        |          gonzalez         | 1245445344

Thanks!