You might be followed below procedure to showing categories on the Top menu
- Admin Panel > Catalog > Categories
- Edit category > Data Tab>
But remember, this functionality is limited up to top parent categories. In simple words, this option will not work for subcategories / child-categories.