I am working with a flow that has a main data table that I want to continually append data to. I am currently building a data table with a single column, then attempting to append that data on to the main data table.
When I use the Merge Data Table activity, it appends the new column under the existing column rather than as a new column next to the existing ones (I ultimately want to export to csv). How do I get it to add as a new column next to the existing ones?
Unfortunately, I cannot upload workflows as this would violate company security policies.
I figured, but this requires the input data to be in the DataColumn format and it is currently in the DataTable format. Is there a way to accomplish this without rewriting my code?
no worries in datacolumn property of add data column we can mention the column we want to add from the datatable
like this yourdatatablename.Columns(âyourcolumnnameâ)
so we dont need to change the current structure
Cheers @Tal294
Fine
does that column has same name as already existing one
if so in the build datatable kindly change the name and try once
because we wont be able to create two columns with same name
Cheers @Tal294
no worries
werenât we able to change in build datatable activity
if not yourdatatablename.Columns(0).ColumnName = âyournewcolumnnameâ
would work with simple assign activity