Hi, I’m trying to filter a data table with date and assign the result to an integer. I want to filter with a check date which can be 2019-10-10 as an example.
13614519, lerjob4912,2018-06-01, Business For Utilities, Listing, 1872991343,1030421874,300,1033921300, lerjob4912, Business For Utilities, 2018-06-01, ChangerName, Lena Johansson
Another approach would be to use the filter datatable activity. This will filter the datatable so that it will only have the records of the particular date your provide.
Next use an assign activity to get the row count
FilteredDT.rows.Count
I used filter datatable activity to filter but before that I had to change the data type to the date of the column to System.DateTime. I did this with the Nuget package ChangeColumnDatatype.Activites