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

How to get the employee name with no value in the table

Hello , 

 

I have two table 

1. Employee detail 

Manager EmailManager NameEmployee NameEmployee Email
S.S@gmail.comSSAbeiAbei@gmail.com
S.S@gmail.comSSbeiabeia@gmail.com

 

2. Task Detail

Employee NameEmployee EmailManager NameManager EmailTaskdescription
AbeiAbei@gmail.comSSS.S@gmail.comxyzabc 

 

I want to have a column that joins both the column and the result should be 

Employee NameEmployee EmailManager NameManager EmailTaskdescription
AbeiAbei@gmail.comSSS.S@gmail.comxyzabc
Beiabeia@gmail.comSSS.S@gmail.comnull

null

 

I tried doing left join but i am not getting the desired result it is showing as

Employee NameEmployee EmailManager NameManager EmailTaskdescription
AbeiAbei@gmail.comSSS.S@gmail.comxyzabc
Beiabeia@gmail.comSSS.S@gmail.comxyzabc
2 ACCEPTED SOLUTIONS
v-junyant-msft
Community Support
Community Support

Hi @sonalisaha2310 ,

After my test, I guess you are using Manager Email or Manager Name as the matching columns, this does cause the wrong results you are facing:

vjunyantmsft_0-1715221219658.pngvjunyantmsft_1-1715221228113.pngvjunyantmsft_2-1715221237820.pngvjunyantmsft_3-1715221246557.png

Please try to use Employee Email as the matching column:

vjunyantmsft_4-1715221285875.png

And the final output is as below:

vjunyantmsft_5-1715221304834.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Ashish_Mathur
Super User
Super User

Hi,

You should join based on Employee name and Employee email.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

You should join based on Employee name and Employee email.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-junyant-msft
Community Support
Community Support

Hi @sonalisaha2310 ,

After my test, I guess you are using Manager Email or Manager Name as the matching columns, this does cause the wrong results you are facing:

vjunyantmsft_0-1715221219658.pngvjunyantmsft_1-1715221228113.pngvjunyantmsft_2-1715221237820.pngvjunyantmsft_3-1715221246557.png

Please try to use Employee Email as the matching column:

vjunyantmsft_4-1715221285875.png

And the final output is as below:

vjunyantmsft_5-1715221304834.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Bmejia
Solution Specialist
Solution Specialist

A left join should work if you are using the Employee name to join the two tables.

Bmejia_0-1715199950011.png

 

AnushaSri
Advocate II
Advocate II

Hi, 

Are you doing a merge using left join in power query? if so what is your left table among those two and on what column basis you joined?

bhanu_gautam
Super User
Super User

@sonalisaha2310 ,Instead of left join try using full outer join




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.