Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

How to Create a Power Query Drop Down List in Excel and Power BI

Our sales manager wanted a Category cell on the order tracker where people pick a value instead of typing “laptop” in one row and “LAPTOP” in the next. A Power Query drop down list fixes that: the choices come straight from the sales data, so nobody maintains them by hand.

In this tutorial, we’ll load a 60-order sales file into Excel’s Power Query Editor, turn its Category column into a distinct, sorted list, and point Data Validation at that list to build a power query drop down list that stays in step with the data.

Then we’ll cover the two Power BI versions people search for: a Power Query parameter with a list of values for report authors, and a dropdown slicer for the people who read the report.

Here’s what we’re building. Cell B3 on the order sheet opens a dropdown with Accessories, Laptops, Monitors and Software, sorted A to Z, and every one of those values comes from a query:

Excel cell with a Power Query drop down list showing four product categories

Before You Start

You need a desktop version of Excel with the Get & Transform Data group on the Data tab (Power Query’s home in Excel), plus Power BI Desktop for Steps 7 and 8. No add-ins or macros needed. More Power BI walkthroughs are on the Power BI tutorials hub.

The demo file is C:\SPGuidesDemo\PowerBI\SPGuides_Sales_2026.csv: 60 orders from 2026 across US cities, with 11 columns. Only Category matters for the dropdown, but here’s the full shape so the screenshots make sense:

ColumnTypeNotes
OrderIDTextSO-1010, SO-1014 and so on
OrderDateDateStored as MM/DD/YYYY text in the file, January to September 2026
RegionTextEast, West, South or Central
City / State / ZIPTextUS cities such as Boston, Dallas and Seattle; some ZIP codes start with 0
CategoryTextAccessories (19 rows), Laptops (16), Software (16), Monitors (9): the dropdown source
ProductTextSurface Laptop 7, Wireless Mouse, Visio Plan 2 …
SalesRepTextMegan Bowen, Alex Wilber, Adele Vance, Lee Gu, Nestor Wilke
Quantity / SalesNumberUnits and order value in USD

A few sample rows from the file:

OrderIDOrderDateRegionCityCategoryProductSalesRepSales
SO-102001/12/2026WestPhoenixSoftwareVisio Plan 2Megan Bowen$1,440
SO-102701/18/2026EastHartfordLaptopsThinkPad X1Megan Bowen$8,694
SO-101401/21/2026EastPortlandAccessoriesWireless MouseAlex Wilber$49
SO-101001/30/2026SouthDallasLaptopsSurface Laptop 7Nestor Wilke$3,897

Four categories spread over 60 rows is exactly the problem: the column is full of repeats, and a dropdown needs each value once.

Step 1: Load the Sales Data into Power Query

Goal: get the CSV into the Power Query Editor as a query named Sales, which every later step builds on.

  1. Open a blank workbook and go to Data > From Text/CSV.
  2. Pick SPGuides_Sales_2026.csv and select Import.
  3. In the preview window, select Transform Data instead of Load, so the Power Query Editor opens.
  4. In Query Settings, change the query name under Properties to Sales.

You’ll notice Hartford’s ZIP shows as 6103 in the preview. Type detection treated ZIP as a number and dropped the leading zero. It doesn’t affect our Category list, but if you need ZIP codes, see how to keep ZIP codes that start with 0 before you load.

Checkpoint: The Queries pane lists one query, Sales, with 60 rows and 11 columns.

Step 2: Create a Reference Query for the List

Goal: build the list in a second query that starts from Sales, so the original data stays untouched.

  1. In the Queries pane, select Sales.
  2. On the Home tab, open Manage and select Reference.
  3. A new query named Sales (2) appears. Rename it CategoryList in Query Settings.
Power Query Editor Home Manage menu with Reference selected for the Sales query

Why Reference and not Duplicate? A reference query’s only starting step points at the output of Sales. Fix a data type or add a filter in Sales later, and CategoryList picks it up. Duplicate copies every step into an independent query, so you’d be fixing things twice.

= Sales

Checkpoint: CategoryList shows one applied step, Source, and the formula bar reads = Sales.

Step 3: Keep the Category Column and Remove Duplicates

Goal: shrink CategoryList from 60 rows to one row per category.

  1. Select the Category column header.
  2. Go to Home > Remove Columns > Remove Other Columns. You now have 60 rows and one column.
  3. With Category still selected, go to Home > Remove Rows > Remove Duplicates.
Remove Rows menu with Remove Duplicates on the Category column of the CategoryList query

The tooltip on that command says it removes rows containing duplicated values in the currently selected columns. Power Query writes these two steps for you:

= Table.SelectColumns(Source,{"Category"})
= Table.Distinct(#"Removed Other Columns")

Before you trust the result, know that Power Query compares text case-sensitively. “laptops” and “Laptops” would both survive. If your column is messy, add Transform > Format > Trim and Capitalize Each Word before this step. The same logic is behind how you count distinct values in Power Query.

Power Query Transform Format menu with Capitalize Each Word and Trim

For the other row-level cleanups, such as removing blanks or top rows, see how to remove rows in Power Query Editor.

Checkpoint: The Removed Duplicates step leaves 4 rows, one per category.

Step 4: Sort the List A to Z

Goal: put the categories in alphabetical order. The dropdown shows items in the same order as its source table, so sorting here is what makes the list easy to scan.

  1. Open the filter arrow on the Category header.
  2. Select Sort Ascending (A to Z).
= Table.Sort(#"Removed Duplicates",{{"Category", Order.Ascending}})
CategoryList query result with four sorted categories and the Table.Sort formula

If you open Home > Advanced Editor, the whole query is just four steps. You can paste this into a blank query in your own workbook and change the query and column names:

let
    Source = Sales,
    #"Removed Other Columns" = Table.SelectColumns(Source,{"Category"}),
    #"Removed Duplicates" = Table.Distinct(#"Removed Other Columns"),
    #"Sorted Rows" = Table.Sort(#"Removed Duplicates",{{"Category", Order.Ascending}})
in
    #"Sorted Rows"

Checkpoint: Applied Steps read Source, Removed Other Columns, Removed Duplicates, Sorted Rows, and the values are Accessories, Laptops, Monitors, Software.

Step 5: Load Both Queries to Excel

Goal: put CategoryList on a worksheet as an Excel table, because Data Validation reads from cells, not from queries.

  1. On the Home tab of the Power Query Editor, select Close & Load.
  2. Excel adds two sheets: Sales (60 rows) and CategoryList, which holds a table also named CategoryList with 4 rows.
  3. Open Data > Queries & Connections if the pane isn’t showing.

Excel names the loaded table after the query, which is why we renamed it in Step 2. That table name is what the dropdown points to next. It’s the same idea as creating a table with Power Query, just with a single column.

Checkpoint: The Queries & Connections pane shows “Sales 60 rows loaded” and “CategoryList 4 rows loaded”.

Step 6: Add the Data Validation Drop-Down

Goal: turn cells on the order sheet into dropdowns that read the CategoryList table. On Sheet1, I typed Order ID in A1, Category in B1, and the order numbers SO-1061, SO-1062 and SO-1063 in A2:A4.

  1. Select B2:B4.
  2. Go to Data > Data Validation (keyboard: Alt, A, V, V).
  3. On the Settings tab, set Allow to List.
  4. Leave Ignore blank and In-cell dropdown checked.
  5. In Source, enter the INDIRECT formula below and select OK.
=INDIRECT("CategoryList[Category]")
Data Validation dialog with Allow List and an INDIRECT source pointing to the CategoryList table

Why INDIRECT? When I typed the table reference directly, Excel refused it. INDIRECT takes the same structured reference as text, and Excel accepts it in the Source box. Because it still points at the table column, the dropdown follows the table when the query adds or removes rows.

Checkpoint: Select B3 and click its arrow: Accessories, Laptops, Monitors and Software appear in that order.

Step 7: Build a Dropdown Parameter in Power BI Desktop

Power BI report pages don’t have cells, so “drop down list in Power BI” means one of two things. Report authors can give a Power Query parameter a list of values, and report viewers get a slicer. Start with the parameter. I loaded the same CSV in Power BI Desktop.

  1. Select Transform data on the Home ribbon to open the Power Query Editor.
  2. Go to Home > Manage Parameters > New Parameter.
  3. Enter Name: SelectedRegion, keep Required checked, and set Type to Text.
  4. Set Suggested Values to List of values and type Central, East, South and West into the grid, one per row.
  5. Leave Default Value blank, pick East in the Current Value dropdown, and select OK.
Power BI Manage Parameters dialog with Suggested Values set to List of values for SelectedRegion

Microsoft’s docs point out that the list is only a set of suggestions: you can still type another value. The third option, Query, takes its suggestions from a list query, which is handy when the values should come from data, like our CategoryList.

To use the parameter in a step, first check View > Always allow (Parameters group). Then open the Region filter arrow, choose Text Filters > Equals, click the small type button next to the value box and pick Parameter. SelectedRegion appears in the value box:

Power Query Filter Rows dialog with Region equals the SelectedRegion parameter

Select OK and Power Query writes a filter step that reads the parameter instead of a fixed word:

= Table.SelectRows(#"Added Custom5", each [Region] = SelectedRegion)

In my file the step left 32 of the 60 orders, all of them East. Change the parameter’s Current Value to West and the same step returns the West orders instead.

Power Query Filtered Rows step using SelectedRegion with only East rows left

If viewers need to move a number instead, a what-if parameter in Power BI is the better fit.

Checkpoint: The Queries pane shows a new item, SelectedRegion (East).

Step 8: Give Report Viewers a Dropdown Slicer

Goal: give the people reading the report a dropdown they can use without opening Power Query. Parameters live in Power Query, so in Power BI Desktop authors change them through Transform data > Edit parameters. Viewers use slicers.

  1. With nothing selected on the canvas, select the Slicer icon in the Visualizations pane.
  2. In the Data pane, select the Category field (or Region).
  3. In the Format pane, expand Visual > Slicer settings > Options.
  4. Set Style to Dropdown.

Don’t skip step 4. When I added the Category slicer, it came in as a checkbox list, and the Style box read Vertical list. The other two choices are Tile and Dropdown:

Power BI Format pane Slicer settings Style menu with Vertical list, Tile and Dropdown

After the switch, the slicer shrinks to one box that reads All. Open it and you get the categories:

Power BI dropdown slicer open with Accessories, Laptops, Monitors and Software

Here’s the nice part: the slicer showed each category once, sorted A to Z, so no Remove Duplicates step is needed. Formatting, search and default values are covered in how to add a dropdown slicer in Power BI.

To let people pick more than one category, Ctrl+click works by default; the settings are in Power BI slicer multiple selection.

Test the Drop-Downs

In Excel, I picked Monitors in B2, then opened B3’s arrow. The list showed exactly four values, sorted, which is the result in the first screenshot. The workbook is saved as C:\SPGuidesDemo\PowerBI\SPGuides Category Dropdown.xlsx.

Then I tested what happens when the data changes. I added one order with a new category, Tablets, to the CSV and selected Data > Refresh All. Queries & Connections went from 60 to 61 rows for Sales and from 4 to 5 for CategoryList, and the table grew by one row.

I didn’t touch the Data Validation rule. B3’s dropdown simply showed Tablets at the end, because INDIRECT points at the table column, not at a fixed range:

Excel dropdown showing a new Tablets category after Data Refresh All

I removed that test order afterwards, and the next refresh brought the list back to four.

In Power BI Desktop, the parameter’s Current Value dropdown offers Central, East, South and West. With East picked, the query shows as SelectedRegion (East):

Power BI parameter query SelectedRegion with its Current Value dropdown open

Make It Production-Ready

  • Refresh on open: click any cell in the CategoryList table, select Data > Properties, then the query icon next to the name to open Query Properties. On the Usage tab, check Refresh data when opening the file (screenshot below), so new categories show up without anyone remembering Refresh All.
  • Clean before you dedupe: Trim and Capitalize Each Word ahead of Remove Duplicates, since Power Query is case-sensitive.
  • Drop blanks: use Remove Empty on the Category filter arrow so the dropdown never offers an empty item.
  • Tell users what’s allowed: the Data Validation Input Message and Error Alert tabs let you add a hint and block values that aren’t in the list.
  • Power BI reports with several pages: sync slicers across report pages so one dropdown filters them all.
Excel Query Properties dialog with Refresh data when opening the file checked

Troubleshooting

“There’s a problem with this formula.” This is what I got when Source was the table reference typed directly:

=CategoryList[Category]
Excel error There's a problem with this formula for a direct table reference in Data Validation

Use the INDIRECT version from Step 6. The other fix is a named range: Formulas > Name Manager > New, name it CategoryNames, set Refers to = =CategoryList[Category], then use =CategoryNames as the Source.

  • The same category shows twice: the values differ in case or have trailing spaces. Add Trim and Capitalize Each Word before Remove Duplicates.
  • A new category is missing: the query hasn’t refreshed. Run Data > Refresh All, or turn on refresh when opening the file.
  • ZIP codes lost their leading 0: type detection made ZIP a number (6103 instead of 06103). Fix the type in the original Changed Type step.
  • Viewers can’t change the parameter: that’s by design; parameters are for authors. Add a slicer set to Dropdown.
  • The slicer shows (Blank): some rows have no value in that column. Here’s how to remove blank from a Power BI slicer.

Where to Take It Next

If you’d like a guided path through Power Query, data modeling and report design, our Power BI training course walks through it with real projects.

Still shaping data in Power Query? These step-by-step guides pair well with this build:

Frequently Asked Questions

Can Power Query create a drop down list in Excel?

Not by itself. Power Query builds the list: one column, duplicates removed, sorted. You load that list to a table, then Excel’s Data Validation (Allow: List) turns cells into dropdowns that read it, for example with =INDIRECT(“CategoryList[Category]”).

How do I create a drop down list in Power BI?

For report viewers, add a slicer and set Format > Visual > Slicer settings > Options > Style to Dropdown. For report authors, create a Power Query parameter with Suggested Values set to List of values; Microsoft explains the options in its Power Query parameters documentation.

Does Power Query have data validation?

Power Query has no cell-level validation rule. You clean and restrict values in the query (filters, Remove Duplicates, data types), then apply Excel’s Data Validation to the worksheet cells, using the query’s output table as the list source.

How do I add a list as a column in Power Query?

Convert the list to a one-column table with Table.FromList, for example Table.FromList(CategoryNames, Splitter.SplitByNothing(), {"Category"}). Splitter.SplitByNothing() keeps each item whole, and the last argument names the column.

Why doesn’t my Excel dropdown show the new values from Power Query?

The query output only changes when it refreshes. Select Data > Refresh All, or set the query to refresh when the file opens. Use a source that points at the table column, such as INDIRECT or a named range, so the list follows the table’s size.