Notifications
Announcements
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.
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:
https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-data-types#advanced-data-types
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.
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.
@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.
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:
https://powerusers.microsoft.com/t5/General-Power-Automate/Trying-to-use-Excel-as-Database/m-p/88040...
https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Connection-String-for-Csv-file-csv-as-a-d...
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
@Anonymousthank you. Feels like added complexity to me but certainly looks like an option.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional