By the way, this is the code I adjusted according to my real data table…
(From d In Relevant_Columns.AsEnumerable
Group d By A=d(0) Into grp=Group
Let nr= New Object(){A, grp.Sum(Function (x) Double.Parse(x.Field(Of String)(4),nfi)).ToString(nfi),grp.Last()(1),grp.Last()(2),grp.Last()(3),grp.Last()(5)}
Select dtSummedUp.Rows.Add(nr)).CopyToDataTable
It should group first column (index: 0), total up the 5th column (index: 4) and take the last record of the other four columns (index: 1,2,3,5).
Did I adjust it correctly?
Hey Robot Master, I opened your xaml & get errors (refer attached screenshots). if possible, can provide the screenshots (and the scripts) for 1st, 2nd and last activity please? Thank you!