0
0
Power BIbi_tool~10 mins

Data type changes in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows sales amounts in column A as numbers and in column B as text strings representing the same numbers.

CellValue
A1SalesAmount
A21000
A32000
A43000
B1SalesAmountText
B21000
B32000
B43000
Formula Trace
SalesAmountNumber = VALUE('Table'[SalesAmountText])
Step 1: VALUE('Table'[SalesAmountText]) for B2 = "1000"
Step 2: VALUE('Table'[SalesAmountText]) for B3 = "2000"
Step 3: VALUE('Table'[SalesAmountText]) for B4 = "3000"
Cell Reference Map
    A           B
1 | SalesAmount | SalesAmountText
2 |    1000    |    "1000"    
3 |    2000    |    "2000"    
4 |    3000    |    "3000"    
The formula references the SalesAmountText column (cells B2 to B4) which contains numbers stored as text.
Result
    A           B               C
1 | SalesAmount | SalesAmountText | SalesAmountNumber
2 |    1000    |    "1000"      |      1000       
3 |    2000    |    "2000"      |      2000       
4 |    3000    |    "3000"      |      3000       
The new column SalesAmountNumber shows the text values converted to numbers using the VALUE function.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the VALUE function do to the text "1000"?
AConverts it to the number 1000
BLeaves it as text "1000"
CChanges it to 0
DRemoves the value
Key Result
VALUE(text_column) converts text values to numeric data type.