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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
FriedWater
Frequent Visitor

Cannot compare integer and text

Hello,

 

I am trying to calculate the number of times a row meets certain criteria, however, the criteria consist of both integer and text, hence, I am getting the "cannot compare integer and text value". Total MI is the one in integer, the rest are in text format. I have attached my measure and sample data, thank you.

 

FriedWater_0-1649170729027.png

FriedWater_2-1649171160949.png

 

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Remove both "s from around the 0.

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

Remove both "s from around the 0.

Well, that was simple, thank you!

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.