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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Error formulates "DAX comparison operations do not support comparison values of type TEXT"

Hello Community,

I have a problem with a formula, please your support

Classification =
IF(and(RECCS_Terreno[NotaFinal]=0,RECCS_Terreno[NotaTerreno]=0),"No presence",
IF(AND(RECCS_Terreno[NotaFinal]=0,RECCS_Terreno[NotaTerreno]<>0),"Incomplete",
IF(RECCS_Terreno[Contractor Category]="A"&&RECCS_Terreno[NotaFinal]>=90,"Acceptable",
IF(RECCS_Terreno[Contractor Category]="A"&&RECCS_Terreno[NotaFinal]>=80,"Moderate",
IF(RECCS_Terreno[Contractor Category]="B"&&RECCS_Terreno[NotaFinal]>=90,"Acceptable",
IF(RECCS_Terreno[Contractor Category]="B"&&RECCS_Terreno[NotaFinal]>=70,"Moderate",
IF(RECCS_Terreno[Contractor Category]="C"&&RECCS_Terreno[NotaFinal]>=80,"Acceptable",
IF(RECCS_Terreno[Contractor Category]="C"&&RECCS_Terreno[NotaFinal]>=60,"Moderate",
IF(RECCS_Terreno[Contractor Category]="D"&&RECCS_Terreno[NotaFinal]>=90,"Acceptable",'Unacceptable')))))))))}
JosVP_0-1680124299510.png

Thank you!

1 REPLY 1
CharbelArmaleh
Resolver II
Resolver II

Hello,

 

You need to check the data type of the following column

RECCS_Terreno[NotaFinal]

RECCS_Terreno[NotaTerreno]

RECCS_Terreno[NotaFinal]

they should be a whole number of decimal


Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.