Hello, i’m trying to filter my data, so that it shows me only what i need… for other purposes.
I used assign, at first it worked, but now it wont, it tells me that there’s no data rows…
Read Range = “extractedAlarms” => extractedAlarms
extractedAlarms = extractedAlarms.Select(" ‘CODE’ = ‘A11’ OR ‘CODE’ = ‘B0’ OR ‘CODE’ = ‘C31’ OR ‘CODE’ = ‘D34’ OR ‘CODE’ = ‘E36’ OR ‘CODE’ = ‘F0’ OR ‘CODE’ = ‘G1’ OR ‘CODE’ = ‘H4’ OR ‘CODE’ = ‘J0’ OR ‘CODE’ = ‘E7’ ").CopyToDataTable()
try like this buddy
extractedAlarms = extractedAlarms.Select(" [CODE] = ‘A11’ OR [CODE] = ‘B0’ OR [CODE] = ‘C31’ OR [CODE] = 'D34’ OR [CODE] = ‘E36’ OR [CODE] = ‘F0’ OR [CODE] = ‘G1’ OR [CODE] = ‘H4’ OR [CODE] = ‘J0’ OR [CODE] = ‘E7’ ").CopyToDataTable()
And make sure that we have a column named CODE in our datatable extractedAlarms
Hope this wuld help you
Kindly try this and let know for any queries or clarification
Cheers @mz3bel
So that means there are no records with the column CODE having these values
A11, B0, C31, D34, E36, F0, G1, H4, J0, E7
Fine can i have a view on the excel or datatable as a output with a output datatable activity and write line activity that can show the value of datatable so that we can check with the value of column CODE