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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
po
Post Prodigy
Post Prodigy

compare value in one table to value in another in dax formual

Hi 

 

Have 2 tables empoyees and employee logins and they are joined by employee id with a 1:m relationship between them i.e. an employee can have multiple logins

 

employee table

id

name

 

 

employee logins

 

employee_id   -- this joined to eomployee.id

employee_name

datetime

...

 

 

want to compare the name in both columns to see where different.

 

What is best way of doing this in power bi?

 

just wantto use simple formual e.g calculated column and note merge tables etc or chnage tabel definitiosn as they supplied to us.

 

Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@po ,

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

better copy if there are 1-2 columns. If more then prefer merge in power query : https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@po ,

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

better copy if there are 1-2 columns. If more then prefer merge in power query : https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for reply but not wanting to copy data to other tables and woudl have thought coudl simply compare 2 columns in different tables without having to duplicate data in other tables?

 

Is it possible to do it in dax with some formula?

 

Thanks

@po , In case you want a column  You have to use the formula I suggest in the video in var and compare with data in current row

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thanks for reply - will have a look at video

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors