Dashboard Mode - Query Editor interface
Goal
Understand how to use the Query Editor interface in Excel to clean and transform data before loading it into your spreadsheet.
Understand how to use the Query Editor interface in Excel to clean and transform data before loading it into your spreadsheet.
| Order ID | Customer | Product | Quantity | Price | Order Date |
|---|---|---|---|---|---|
| 1001 | John Doe | Apples | 10 | 1.20 | 2024-01-15 |
| 1002 | Jane Smith | Bananas | 5 | 0.80 | 2024-01-16 |
| 1003 | John Doe | Oranges | 8 | 1.00 | 2024-01-17 |
| 1004 | Mary Johnson | Apples | 12 | 1.20 | 2024-01-18 |
| 1005 | Jane Smith | Bananas | 7 | 0.80 | 2024-01-19 |
= Table.RemoveColumns(Source, {"Order Date"}) - Removes the 'Order Date' column to focus on sales data.= Table.SelectRows(RemoveColumns, each ([Quantity] > 5)) - Keeps only rows where quantity is greater than 5.= Table.TransformColumnTypes(FilterRows, {{"Price", type number}}) - Ensures 'Price' column is treated as a number for calculations.+----------------------+----------------------+ | Data Preview Table | Remove Columns Step | | (Raw data) | (Order Date removed) | +----------------------+----------------------+ | Filter Rows Step | Change Data Type Step | | (Quantity > 5) | (Price as number) | +----------------------+----------------------+ | Final Output Table (Cleaned Data) | +-------------------------------------------------+
Each step in the Query Editor builds on the previous one. When you change a step, all following steps update automatically. For example, if you change the filter to quantity > 7, the final output table updates to show only those rows.
Add a filter step to keep only rows where Product is 'Apples'. Which components update?