This is the following sample datatable,
not able to shot by “Day of Joinee”
This is the following sample datatable,
not able to shot by “Day of Joinee”
Is that Database or Excel spreadsheet?
How are you trying to filter it?
In both i have tried
Can you upload the XLSX file ?
Data.xlsx (9.0 KB)
Problem is your formatting in Excel file.
You have :
Day
of
Joinee
Try to change it to : Day of Joinee
tamiltr.zip (8.5 KB)
Here, an example
Without changing it how we can process, did you change manually?
You can do it by column index, instead of row(“Day of Joinee”).ToString, make it row(1).ToString
I just want to filter and need to save in the excel sheet without changing the column name
This one will do
In this we can use only in message box, to see what data is available in data table but my question is how to filter it.
Alright, @tamiltr
So what we can do here is use Filter Data Table activity.
In the Column input box, enter the column index and configure your condition.
we can use that but there is space and it is like
“Day
of
Joinee”
if there is a space in it, we are not able to do filter using the Filter Data Table activity.
The trick in it is without manual correction we need to perform the filter operation.
As seen on the screenshot above, you can see that I used the index number of the column that I want to filter.
Is there is any other method
Hi
— hope we have the datatable ready in using read range activity and let’s name the datatable as outdt
— now use a assign activity like this to filter the date
outdt = outdt.Select(“[your Column name] < # “ + Now.AddDays(-3).ToString + “ # “ ]
We can make a condition based on our need
Hope this would help you
Cheers @tamiltr
result: