@Gokul001 : Thanks dear but I have tried the wizard option same as you mentioned above but error occurred. But I did not try with as enumerable option.
These are strings. You don’t compare dates as strings, that won’t work. You have to use datetime.parse or datetime.parseexact on the right side of the filter, and your date column has to be a datetime, not a string.
Hi @Dr_Raza_Abidi_PhD,
If you want to filter 2021 year full data and date column is string use like opperation Dt.Select("date like '2021%'").CopyToDataTable()
in filter data table activity also try the same method to filter the data.
@Gokul001 : Thanks a lot. Below is the format of date column and I only want to filter the rows between the specified date range. The excel I am using is extracted from database and exported into excel. The format of date column in excel is showing General. Pl. guide.
@postwick : Thanks but the format of my excel date column is General and I cannot change the format in excel because this excel file I have exported from database and in the database date is stored as string. But when I exported the query result in the excel file it shows the format for date column is General. I want to apply filter on this General data type.
Create a datetime column in the datatable and then populate it using a For Each, using datetime.parse or datetime.parseexact to convert the string date to an actual datetime. Then use the new column for your comparisons.