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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Digger
Post Patron
Post Patron

Multiple boolean checks

How in calculated columns check 3 or mor colums for equals

 

CheckIfEquals = [col1]=[col2]=[col3] 

 

I got error boolean cant match with integer

1 ACCEPTED SOLUTION

@Digger , Try like

[col1] = [Col2] && [Col2] =[Col3] &&[Col1] =[Col3] 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Digger , Not clear

 

if([col1] = [Col2] && [Col2] =[Col3], true(), false() )

 

or

 

[col1] = [Col2] && [Col2] =[Col3]

@amitchandak  but it is wrong as [col1] never will matching with [col3]

@Digger , Try like

[col1] = [Col2] && [Col2] =[Col3] &&[Col1] =[Col3] 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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