What if every data change you made could be undone with a single click, saving you hours of frustration?
Why Applied steps and undo in Power BI? - Purpose & Use Cases
Imagine you are cleaning and organizing a messy spreadsheet by hand. You try one change, then another, but if you make a mistake, you have to start over or carefully undo each step manually.
Doing data cleaning manually is slow and frustrating. It's easy to lose track of what you changed, and fixing mistakes means repeating tedious work or risking errors. This wastes time and causes stress.
Applied steps in Power BI record each change you make to your data automatically. You can easily undo or redo any step, so you never lose your progress or get stuck. This makes data cleaning fast, safe, and clear.
Delete column A Remove duplicates Change date format
Applied Steps: 1. Removed Column A 2. Removed Duplicates 3. Changed Date Format Undo last step
With applied steps and undo, you can confidently transform data knowing every change is tracked and reversible, making your work efficient and error-free.
A sales analyst cleans monthly sales data by removing extra columns and fixing dates. If a mistake happens, they just undo the last step instead of starting over, saving hours.
Manual data cleaning is slow and risky.
Applied steps track every change automatically.
Undo lets you fix mistakes easily and quickly.
Practice
Applied Steps in Power BI's Query Editor?Solution
Step 1: Understand Applied Steps function
Applied Steps record each transformation or change you make to your data in Query Editor.Step 2: Differentiate from other features
Applied Steps do not create visuals, write formulas, or connect databases; they track data cleaning actions.Final Answer:
To track and record every change made to the data during cleaning -> Option CQuick Check:
Applied Steps = Track changes [OK]
- Confusing Applied Steps with visualization features
- Thinking Applied Steps write formulas
- Assuming Applied Steps connect to databases
Solution
Step 1: Locate Applied Steps pane
The Applied Steps pane shows each change; each step has an 'X' to remove it.Step 2: Undo last step by removing it
Clicking the 'X' next to the last step removes that change, effectively undoing it.Final Answer:
Click the 'X' next to the last step in the Applied Steps pane -> Option AQuick Check:
Undo last step = Click 'X' [OK]
- Using Ctrl + Z which doesn't undo Query Editor steps
- Deleting entire query unnecessarily
- Looking for undo option outside Applied Steps
1. Source2. Removed Columns3. Filtered RowsIf you click the 'X' next to
Removed Columns, what will happen?Solution
Step 1: Understand step dependencies
Deleting a middle step removes that transformation; later steps recalculate based on remaining steps.Step 2: Effect on later steps
'Filtered Rows' depends on the data after 'Removed Columns'; it will recalculate using data without that removal.Final Answer:
'Removed Columns' step will be deleted, and 'Filtered Rows' will be recalculated without it -> Option BQuick Check:
Deleting middle step recalculates later steps [OK]
- Assuming all later steps delete automatically
- Thinking middle steps cannot be deleted
- Believing nothing changes after deletion
Solution
Step 1: Identify the mistake step
The 'Removed Columns' step is where the column was removed.Step 2: Undo by deleting the step
Deleting this step in Applied Steps will restore the column as if it was never removed.Final Answer:
Undo the removal by deleting the 'Removed Columns' step in Applied Steps -> Option DQuick Check:
Undo mistake by deleting step [OK]
- Closing without saving loses all work
- Trying to add columns with DAX instead of Query Editor
- Rebuilding query unnecessarily
1. Changed Type2. Filtered Rows3. Added Custom ColumnLater you realize the 'Changed Type' step was incorrect. What is the best approach to fix this without losing your custom column?
Solution
Step 1: Remove incorrect 'Changed Type' step
Delete the wrong 'Changed Type' step to remove the incorrect data type changes.Step 2: Reapply correct 'Changed Type' step before other steps
Reapply the correct type changes before 'Filtered Rows' and 'Added Custom Column' to keep data consistent.Final Answer:
Delete the 'Changed Type' step and then reapply it correctly before the other steps -> Option AQuick Check:
Fix errors by correcting early steps without losing later ones [OK]
- Deleting all steps loses work
- Editing later steps to fix early errors
- Ignoring errors causes wrong data
Ready to prove it?
Pass the test and this pattern moves unknown
