Hi i have a scenario where I have a datable and i need to filter a column based on some values and move to corresponding datatables. Can anyone please help how to filter datatable based on column values and assign them to different datatable.
@Anonymousthank you.
Feels like added complexity to me but certainly looks like an option.
Hi @Anonymous
we r not having separate option for filter
1 method u can use if conditions
2nd method u hav to work on excel as a database nd use query to execute it s more easy
Regards
Ahammad Riyaz
if your data table is from database (even excel can be a database), then you can easily use SQL to filter data. Refer to below as examples:
@Rohith_Raju thank you for your solution but this is a serious deficiency compared to other RPA solutions.
Datatable manipulation really should be at top of the list for upcoming changes.
Hello @Anonymous ,
I would recommend you to copy the values of the Data Table to an Excel, and perform filtering in Excel, using Surface Automation (Keyboard and Mouse Clicks).
This way your development will be much more easier, as Data Manipulation from an Output Data Table will be tedious and time consuming.
Do you know if Microsoft has plans to make data table manipulation any friendlier? I haven't seen anything related on the road map, but I'd hope for cleaner solutions to data table issues.
Unfortunately, you'll need to loop through the data table and check each row to build a new data table, which would also be the easiest solution with PAD:
WarrenBelz
146,776
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional