Use build datatable activity and add two columns with string type and store in outdt
Read the data from excel into datatable dt
Use the following in assign outdt = (From d In Dt.AsEnumerable() Group d By k=d("columnKName").toString.Trim Into grp = Group Let coun = String.Join(",",grp.Where(function(x) cdbl(x("ColumnSName").ToString)>=-0.25).Select(function(x) x("ColumnSName").ToString)) Let ra = New Object(){k,coun} Select r = outDt.Rows.Add(ra)).CopyToDataTable()
Are you sure…can you check the input if those are there and if you can share a file I can verify from my end…I did verify with sample data and I could see all
Is it possible to share the data how it looks after reading into datatable…or can you create a dummy file and run on it and check…if there also it is failing then please attach the dummy file you have tested on…so that we can check from our end
the dummy excel New Microsoft Office Excel Worksheet.xlsx (8.3 KB)
I did try the other method, still failed…
tried to change the data types as well and tried, still it did not work…
Hi,
I am using different data…
it’s not the above-mentioned data.
The issue that I am facing is when running, the values in S1,S2 are not being written,instead its a empty cell