These fields must be sortable and filterable, so display fields are not an option.
In addition, the rest of the records are duplicated. My guess is that this is the fault of a bad relationship between the table and the view.
Could someone suggest what relationship settings would be correct for my problem?