Power BI Error Reference_

DAX comparison operations do not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function.

You compared a text value to a number.

Why it happens

How to fix it

  1. Fix the column's data type in Power Query so like compares to like.
  2. If you can't, convert explicitly: VALUE ( Table[TextCol] ) or FORMAT ( Table[Num], "0" ).
  3. Align key types on both sides of any comparison or relationship.