You can’t use a row filter in a data view to select distinct values (I believe) but you might be able to read the underlying datatable of the dataview, use linq to sort it however you want, and return back the results to a grid or whatever you’re doing
I remember I had to do this once in the past. I looked but couldn’t find that old code. I believe the only way to do this is to convert it to a Data Table using ToTable. There are four signatures for the method, two of them allow a Boolean value for Distinct values when it is converting but you may need to setup Column Names[] for the table .