select_dimension function

Select dimension