Forum Discussion

dtango9's avatar
dtango9
Icon for Helper II rankHelper II
6 years ago
Solved

DAX comparison operations do not support comparing values of type Text with values of type Integer

Hello, I'm wondering why this formula isn't working and how to correct it - this is the error message I'm getting:  "DAX comparison operations do not support comparing values of type Text with val...
  • Anonymous's avatar
    Anonymous
    6 years ago

    dtango9 

     

    Check the data types of the filtered columns, for example 'phonecalls'[Acct Number]='new_product'[Account Number] both columns should be the same data type usually Whole number. Also, for [actualend], [new_startdate], [new_enddate]), [createdon], sometimes dates can displayed in numerical form (20200101) or Text form(01 Jan 2020), usually we need to change them to Date or Date/Time format. 

     

    You used Format() to change datatype or just change the datetype on Desktop menu.

     

    Paul Zheng _ Community Support Team
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.