Table of variables

‌is it possible to load a table that has an ID, and a variable as columns, so that the variables can be dynamically controlled in the app after loading?

For Example:

id

var

1001

vID1

1002

vID2

1003

vID3

Then in the app, a Variable button would assign a value to each individual varable, and then allow set analysis on the Dirkes named “vat”. The idea is to make an app that lets he user dynamically group and regroup customers.