Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

DAX comparison do not support comparing values of type integer with values of type text

Hi Guys Im having this issue when trying to create a calculate column. I Type in the following condition: 

Column = IF ( 'Table1'[Issue Resolution] = "NA", 0, 15 )

 

13 Replies

  • tamerj1's avatar
    tamerj1
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous 

    what is the data type of the column Issue Resolution. Can you share a screenshot of that column?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi tamerj1 The Column data type is number but one of the values can be NA.

      Here it is

      • tamerj1's avatar
        tamerj1
        Icon for Community Champion rankCommunity Champion

        Anonymous 

        Please try

        Column = IF ( ISBLANK ( 'Table1'[Issue Resolution] ), 0, 15 )

  • Anonymous's avatar
    Anonymous
    Not applicable

    ValtteriN Hi Yes, The Column can have 3 values 15, 0 or NA.