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
hdstockimages
New Member

Troubleshooting Employee List Comparison Issues with Military Rank Anomalies

I am currently attempting to compare two employee lists based on a common identifier: the column labeled "EmpName," which includes last names followed by first and middle names, along with military ranks.

In Table A, I have a roster of employees who are currently onboarded, while Table B includes both current and future employees, albeit with duplicates in the form of ID numbers known as billets.

While working to establish a connection between these two lists using the employee names, I've encountered a peculiar issue: entries with military ranks fail to link correctly, whereas non-military names connect without a hitch. This inconsistency raises the possibility of hidden characters or invisible spaces obstructing the matching process.

Additionally, I've attempted to segment the names into separate columns based on the last name but have not achieved the desired results.

My ultimate objective is to compile a clear overview of my onboarded personnel from Table A while concurrently verifying the upcoming hires in Table B, all the while accounting for the duplicate billets present.

Any insights or suggestions on how to resolve these challenges would be greatly appreciated. Despite multiple attempts, I have yet to find a solution, which is why I’m reaching out for assistance. Thank you!

5 REPLIES 5
Anonymous
Not applicable

Hi @hdstockimages 

Can you provide some sample data and the output you want, so that can provide more information for you.

 

Best Regards!

Yolo Zhu

PwerQueryKees
Super User
Super User
Omid_Motamedise
Super User
Super User

for removing hidden characters Text.Trim and Text.Clean can be applied

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h
mussaenda
Super User
Super User

Hi @hdstockimages ,

 

We can help you if you can provide data and your sample output

PhilipTreacy
Super User
Super User

@hdstockimages 

 

Please supply some sample data as a file or a table (not an image) and show the desired result.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors