DataSetSelector function

Creates or updates a DataSetSelector