Hey @ThinhDinh my experience is limited to playing around with BigQuery. I learned back then you can’t make a query dynamic either through a template column or user specific column… so I didn’t use it in my solution.
I think some of the limitations can be worked around with a matter of creativity… I.e. calculating some value beforehand and then add that static value to a basic column in your table.
Some cases you can feed a joined list through a JS column to get an answer.
When I have time to try it further I will circle back with you