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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
BobKoenen
Helper IV
Helper IV

Check if data in 2 columns is the same (comparing email and nr for persons)

HI All, 

 

I have a Data set with persons and 2 telephone numbers and emailadresses. I want to have an extra column which should tel me if there is a difference between those two columns for that specific ROW

 

Example

 

Nametel nr 1Tel nr 2the Same?
Joe+444444+444444Yes
Jane+333333+333334No
BIll+111111+111112No

 

I want to apply the same logic to 2 email columns. Can you help me how to achieve this. I can do it in Power query or in DAX. 

 

Thanx

1 ACCEPTED SOLUTION
Anonymous
Not applicable

 

@BobKoenen 

Create a custom colum in power query:

if [tel nr 1] = [Tel nr 2] then "Yes" else "No"

 

Same for the email columns.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

 

@BobKoenen 

Create a custom colum in power query:

if [tel nr 1] = [Tel nr 2] then "Yes" else "No"

 

Same for the email columns.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

kirbynguyen
Helper II
Helper II

@BobKoenen Try this as a column:

 

Same = IF('Table'[tel nr 1] = 'Table'[tel nr 2], "Yes", "No")

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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