Power BI Error Reference_

Cannot convert value 'X' of type Text to type Number.

DAX tried arithmetic or an implicit conversion on a text value that isn't a clean number.

Why it happens

How to fix it

  1. Fix the column's data type in Power Query — this is almost always the right layer, not DAX.
  2. If you must convert in DAX, clean first: VALUE ( TRIM ( SUBSTITUTE ( Sales[AmountText], "$", "" ) ) ).
  3. Confirm the file/report locale matches the data's decimal and thousands separators.
Triggers it
Total = SUM ( Sales[AmountText] )  -- AmountText is typed Text
Fix
Amount = VALUE ( TRIM ( Sales[AmountText] ) )