I am trying to assign the result of the below query using the Assign activity and it is giving me the error.
I am assigning the value to a DataTable variable.
Query: InterswitchMerged_DT_SheetWithCountMO2.AsEnumerable().GroupBy(Function(i) i.Field(Of String)(“Merchant_Account_Nr”)).Where(Function(g) g.Count() >= 1).Select(Function(g) g.First).CopyToDataTable
Error: Unable to cast object of type ‘System.Double’ to type ‘System.String’.