Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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

Hi All,

 

My DAX (creating a column):

 

Email Not Sent Flag = IF(
    'Time Entries'[Entry Contains Document Flag] = 0 & 'Time Entries'[Entry Starts With Greeting Flag] = 1 
|| 'Time Entries'[Entry Starts With Greeting Flag] = 1 & 'Time Entries'[Email File Extension Flag] = 0 & 'Time Entries'[Entry Contains Document Flag] = 1 ,1,0)
I get the error: DAX comparison operations do not support comparing values of type Integer with values of type Text. 
 
I have triple checked all of the fields i am evaluating are INT (123 in edit queries) so i cannot see where it is trying to compare a text field.
 
Any ideas?
 
Many Thanks

POC

2 Replies