Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello all. I have a column of data that evaluates as text. There are text data and value data (stored as text). How can I convert the value as text into a decimal value? Tried searching the board and could not find a solution.
Here is an example: (current data) and what I'd like to accomplish
| Current Data | Desired Results | |
| Apples | null | |
| 5.34 | 5.34 | |
| Bananas | null | |
| 0.234 | 0.234 | |
| Oranges | null |
Thanks for any and all responses!
Jim
Solved! Go to Solution.
Hi @JimB-GA,
New a calculated column.
result column =
IF (
ISERROR ( VALUE ( 'Test data'[Data] ) ),
BLANK (),
VALUE ( 'Test data'[Data] )
)
Best regards,
Yuliana Gu
Hi @JimB-GA,
New a calculated column.
result column =
IF (
ISERROR ( VALUE ( 'Test data'[Data] ) ),
BLANK (),
VALUE ( 'Test data'[Data] )
)
Best regards,
Yuliana Gu
Thank you Yuliana.
I had tried something similar earlier but ran into syntax problems. Your solution works perfectly.
Regards
Jim Blackburn
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 38 | |
| 38 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 88 | |
| 73 | |
| 66 | |
| 65 |