Can add variable in build data table?

Hi, I would like to know if I can add variable into the build data table. E.g. in the ‘column1’ or ‘bill’.

If not, any suggestion how to create a variable header for this datatable
image

Thank you xoxo

Hi there @sangasangasanga

I’m afraid you cannot build the datatable using variables as name of columns. To make it you will have to do some logic. Something like build an empty DT and then make the first row with the values that you want. I can’t help you more because I dont know the exactly syntax to do it right now, you need to explore a bit about it.

Bests,
Pablo

One way to use a variable for the column name is to add the Column separately using the Add Data Column activity.

1 Like