Hi Team,
I am new to UiPath. i need your help. I have data set with 5 columns. One column has description (open text). other columns are demographics.
As a user i will input the keyword , then the bot has to search through the description column and send the report with all the rows matching that keyword along with other column.
For e.g. The columns are,
If a user search for key word “Beautiful” then it should return
(From row in outDt.AsEnumerable() where row(“Text”).ToString.Contains(“beautiful”) Select row(“Age”)).ToList
you can select rows change column name from “Age” to “Gender”
Alternatively to the @Pradeep_Shiv proposal you could simply use “Filter Data Table” activity to filter data table (that you will get from excel using “Read Range” activity)
Step 1/ Use “Read Range” activity to read your excel table into DataTable (e.g. dt1)
Step 2/ Use “Filter Data Table” activity to filter the dt1 based on provided keyword (e.g. “beautiful”)
Result will be a filtered DataTable dt2.
Screenshot of “Filter Data Table” wizard:
In case of fixed value “beautiful” you could use a string variable indeed.