Generate the Rows using First flow 4 columns, so that you have the data in datatable
For second flow use ForEach Row activity to loop into datatable
You have to assign the values like as below
Datatable.Rows(IndexVariable).Item(“ColumnName”).ToString = Your Value
For more reference for the above expression, check below
Hope this helps you
Thanks