0
0
Power BIbi_tool~10 mins

Why clean data drives accurate reports in Power BI - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

Sales data with a data quality issue: cell B4 contains text 'abc' instead of a number.

CellValue
A1Product
A2Apple
A3Banana
A4Apple
A5Orange
B1Sales
B2100
B3150
B4abc
B5200
Formula Trace
SUMX(FILTER(SalesData, ISNUMBER(SalesData[Sales])), SalesData[Sales])
Step 1: FILTER(SalesData, ISNUMBER(SalesData[Sales]))
Step 2: SUMX(filtered_rows, SalesData[Sales])
Cell Reference Map
    A       B
1 Product  Sales
2 Apple    100  
3 Banana   150  
4 Apple    abc  
5 Orange   200  

Formula uses Sales column B2:B5 but excludes B4 because it's not a number.
The formula references the Sales column cells B2 to B5, filtering out the non-numeric value in B4.
Result
    A       B       C
1 Product  Sales   Total Sales
2 Apple    100     450
3 Banana   150
4 Apple    abc
5 Orange   200
The Total Sales measure sums only valid numeric sales, ignoring the invalid 'abc' entry, resulting in 450.
Sheet Trace Quiz - 3 Questions
Test your understanding
Why does the formula exclude the value 'abc' in cell B4?
ABecause 'abc' is the highest sales value
BBecause 'abc' is a product name
CBecause 'abc' is not a number
DBecause 'abc' is a duplicate
Key Result
Filter data to include only valid numeric values before summing to ensure accurate results.