I have datatable like this
I want the blank cells in column1 to fill like this
I have datatable like this
I want the blank cells in column1 to fill like this
Hi @Jorie_02
Use the below in Assign activity:
dt1 = dt1.AsEnumerable.Select(Function(r,i) dt1.Clone.LoadDataRow({dt1.AsEnumerable.Where(Function(r2,i2) i2<=i andAlso not String.IsNullOrEmpty(r2(0).ToString)).Last.Item(0).Tostring,r(1)},False)).Where(Function(r) not String.IsNullOrEmpty(r(1).ToString)).CopyToDataTable()
workflow:
Input:
Output:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.