define_selected_dimensions function

Define selected dimensions