Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DAX comparison operations do not support comparing values of type True/False with values of type Int

Hello!

 

I do not understand why I am getting this error

DAX comparison operations do not support comparing values of type True/False with values of type Int

 

concentration = SWITCH([HHI-4],[HHI-4] < 1000, "Low concentration", 1000 <=[HHI-4] < 1800, "Medium concentration", 1800 <=[HHI-4] <= 10000, "High concentration")

 

while my HHI-4 is the whole number. What is wrong?

1 Reply