choose_with_menu function

Choose data with menu.