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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
V-pazhen-msft
Community Support
Community Support

 

@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
V-pazhen-msft
Community Support
Community Support

 

@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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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