Excel filter activity is not working.I’m trying to filter the values starts with 1 in excel filter activity but the values are not filtering.
If you’re trying to filter digit values in Excel using the Filter activity, it won’t work because they are in Number format. For values in Text format, you can use the “Starts With” filter.
Hope you understand!!
dt_FilteredTable = YourDataTable.AsEnumerable().Where(Function(row) row.Field(Of String)(“ColumnName”).StartsWith(“1”)).CopyToDataTable()
Try using this LINQ in assign activity
Regards,
1 Like
Hie @anjani_priya you can try this logic to check if the value is start with 1 or not
this will check if the number start with 1 or not
1 Like
It worked. I didn’t format the cells , the numbers are in string format then the ‘starts with’ worked
1 Like
It’s my pleasure… @anjani_priya
Happy Automation!!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
