Reply
Member
Posts: 376
Registered: ‎01-31-2017
Accepted Solution

DAX Help - Data Validation comparison of two columns

I am trying to do some data validation in Power BI.  I am strugling to write a DAX statment to follow this logic...

 

If Column A contains the same value as Column B the True, Else False.

 

Can someone please help me?

 

Thanks.


Accepted Solutions
Super User
Posts: 673
Registered: ‎11-01-2017

Re: DAX Help - Data Validation comparison of two columns

[ Edited ]

Am i missing something here? Why not the below straight forward one?

 

IF( table1[ColumnA] = table2[ColumnB],"True","False")

 

Thanks
Raj

View solution in original post


All Replies
Super User
Posts: 673
Registered: ‎11-01-2017

Re: DAX Help - Data Validation comparison of two columns

[ Edited ]

Am i missing something here? Why not the below straight forward one?

 

IF( table1[ColumnA] = table2[ColumnB],"True","False")

 

Thanks
Raj