I use activity filter DataTable as below.
But after filter output not found that match with condition.
But If I use write range first —> read range —> filter activity have found condition.
Please guide me about it.
I use activity filter DataTable as below.
But after filter output not found that match with condition.
But If I use write range first —> read range —> filter activity have found condition.
Please guide me about it.
Can you please print the DataTable row count below Filter DataTable activity and check whether it holds any data or not.
DT_Detail.Rows.Count
If it doesn’t give any output then we have two possibilities.
@lakshman Now I use flow as below.
Is Generate DataTable activity generating DataTable properly ?
@lakshman Any idea for solve it ?
Specify New Line separator as newline here. Did you enter any input data to see the preview ?
@lakshman Preview data as below.
It looks good to me. Can you pass column index instead of Column Name into the Filter DataTable activity and check once.
Column Index will start from 0 onwards.
@lakshman How to pass column index?
If you are filtering based on first column then pass 0 without double quotes.
@lakshman Output as same.
No data after filter.
@lakshman If I have file config for keep date for filter as below.
If filter column APADT (for filter from column Start_APAPDT and End_APAPDT) and filter APDODT (for filter Start_APDODT and End_APDODT)
Please guide me about it.
@lakshman Can you guide me more about it?
From your code
dtOutput = dtInput.AsEnumerable.Where(Function(row) Cint(row("APAPDT").ToString) > 25650101).CopyToDataTable
The above expression is called Linq query.
Here, we are reading all rows from DataTable and and then converting APAPDT column value into String and checking whether its value is greater than 25650101. If rows found with matching criteria then it will assign all rows into dtOutput variable and it’s of type DataTable.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.