0
0
Power BIbi_tool~10 mins

Why data transformation ensures quality in Power BI - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

Sample sales order data with some missing and incorrect values in Amount column.

CellValue
A1OrderID
B1Customer
C1OrderDate
D1Amount
A21001
B2Alice
C22024-01-10
D2250
A31002
B3Bob
C32024-01-15
D3300
A41003
B4Charlie
C42024-01-20
D4
A51004
B5Alice
C52024-01-25
D5-50
Formula Trace
CleanAmount = IF(ISNUMBER([Amount]) && [Amount] > 0, [Amount], BLANK())
Step 1: ISNUMBER([Amount]) for each row
Step 2: [Amount] > 0 for each row
Step 3: ISNUMBER([Amount]) && [Amount] > 0 for each row
Step 4: IF(condition, [Amount], BLANK()) for each row
Cell Reference Map
     A       B          C          D
1 | OrderID | Customer | OrderDate | Amount
2 | 1001    | Alice    | 2024-01-10| 250
3 | 1002    | Bob      | 2024-01-15| 300
4 | 1003    | Charlie  | 2024-01-20| null
5 | 1004    | Alice    | 2024-01-25| -50

Formula references column D (Amount) for each row.
The formula uses the Amount column (D2:D5) to check and clean values.
Result
     A       B          C          D        E
1 | OrderID | Customer | OrderDate | Amount | CleanAmount
2 | 1001    | Alice    | 2024-01-10| 250    | 250
3 | 1002    | Bob      | 2024-01-15| 300    | 300
4 | 1003    | Charlie  | 2024-01-20| null   | 
5 | 1004    | Alice    | 2024-01-25| -50    | 

CleanAmount column shows only valid positive amounts, blanks otherwise.
The CleanAmount column ensures data quality by removing invalid or missing values.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the ISNUMBER([Amount]) check do in the formula?
AReplaces Amount with zero
BChecks if Amount is greater than zero
CChecks if Amount is a number
DCalculates total Amount
Key Result
IF(ISNUMBER([Column]) && [Column] > 0, [Column], BLANK()) cleans data by keeping only valid positive numbers.