how i get unique value from specific column.
ex: usr_name | location | value
yogita | aumbai | xyz
yogita | aune | pqr
Akshay | aune | abc
tanvi | tyffh | bc
read column usr_name &
output below:
usr_name
yogita
Akshay
tanvi
Hi @yogitagaikwad2206
Required from only one Column?
adiijaiin
(Aditya Jain)
June 9, 2023, 7:17am
3
Hi @yogitagaikwad2206
Hoping that you have this data in a tabular format already,
if you have it then you can just filter dataTable Activity and
in the output Columns, select Keep and enter usr_name column in the input field below.
And then use Remove Duplicate Rows activity:
Thanks
Happy Automation!
@Yogita
Do something like this with the DataTable
It will result into
Thanks
Read Range and Output will be dt_Input
Assign dt_Unique(Type DataTable) = dt_Input.DefaultView.ToTable(True,“usr_name”)
Hope it will help you…
Thank you…
1 Like
yes i want only unique name of usr_name column from excel
Read the excel using read range activity.
Once you have the datatable use the follwoing LINQ:
DT.AsEnumerable.Select(Function(r)r(“ColName”).ToString).Distinct.First
So to get only one column use Output from filter datatable activity and to get distinct values use linq i shared above.
Thanks.
can u send workflow of this i want type unique value in text box of usr_name one by one?
system
(system)
Closed
June 12, 2023, 9:33am
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.