Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

DAX Measure error

Hi Experts

 

Getting an error on the following measure - cannot work it out.

Escalated = IF(VALUE(Complaints[Escalated Complaint] = 1 || [Escalated Complaint] = 0) && Complaints[Category] = "Compliant","Yes","No")
 
Error message
DAX comparison operations do not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function to convert one of the values.
1 ACCEPTED SOLUTION
mh2587
Super User
Super User

Escalated = //Try this one
IF (
    (VALUE(Complaints[Escalated Complaint]) = 1 || VALUE(Complaints[Escalated Complaint]) = 0)
        && Complaints[Category] = "Compliant",
    "Yes",
    "No"
)

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



View solution in original post

3 REPLIES 3
mh2587
Super User
Super User

Escalated = //Try this one
IF (
    (VALUE(Complaints[Escalated Complaint]) = 1 || VALUE(Complaints[Escalated Complaint]) = 0)
        && Complaints[Category] = "Compliant",
    "Yes",
    "No"
)

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Anonymous
Not applicable

Arrrr my column with escalted compliants is a text field not numbers 1 or 0 and i cannot change to whole number

Anonymous
Not applicable

Hi mh still getting the following error Cannot convert value '' of type Text to type Number.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors