This tutorial explains the dropdown slicer. Have fun discovering ways to format slicer as a dropdown list.
First of all enter some ad-hoc data, select Enter Data icon
Then put arbitrary data in the table:
Click load to load the data to the Power BI desktop. When you select Load, Power BI Desktop creates a new table from your data and makes it available in the Fields pane.