I am using following linq query. and following is my flow. I am getting Conversion error. I tried multiple things from the forum, but could not resolve the query, I need Max Date and Time from the sheet.
linq query is written in Send Email Sequence.
(From row In dtInput
Group By id=row(0) Into grp = Group
Login Process.7z (164.2 KB)
Let md=grp.Max(Function (d) d(1))
Select dtMax.Rows.Add({id,CDate(md.Tostring).ToString(“MM/dd/yyyyy”)})).CopyToDataTable
Please help
Login Process.7z (164.2 KB)