Hello Swati,
Only as a tip, if the Column has an space " " between the name, you have to add "[]" For your example would be something like "[Last Written] = '"&[DateTime]&"'"
Last Written is a column, so it must has the [] inside the string, when giving a condition you have to pass it has a Data Item and Concatenate it, in the filter action you can use <, >, <>, like, not like, =, AND, OR, etc etc
Just keep in mind the memory and dont do this un large collection
------------------------------
Daniel Sanhueza
RPA Professional Developer
Deloitte
America/Santiago
------------------------------
Daniel Sanhueza
RPA Professional Developer
Deloitte