Help me in creating linq or any other method for this

I have datatable like this
image

I want the blank cells in column1 to fill like this
image

Hi @Jorie_02

PLease check the below thread

Regards

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:



Sequence1.xaml (10.9 KB)

Input:
image

Output:
image

Done within an essential modelling:

E.g.
Before:
grafik

After Fillup:
grafik

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.