Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two queries as per below. I am trying to do an M code to pull over Employee Title into query B using Employee ID as the unique identifier. I would need this to be done in M code vs. DAX, please. Thanks so much.
Employee ID | Employee Title | Employee ID | Employee Name | Employee Title | ||||
12345 | Lead | 12345 | Joy, Ann | ? | ||||
67890 | Lead | 67890 | Smith, Joey | ? | ||||
111111 | Technician | 111111 | Kain, Lisa | ? | ||||
444444 | Technician | 444444 | Coy, Junior | ? | ||||
666666 | Lead | 666666 | King, Jaqueline | ? | ||||
Query A | Query B |
Solved! Go to Solution.
Hi @jcastr02 ,
you can use the Merge operation in Power Query to do this:
Merge queries (Power Query) - Excel (microsoft.com)
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @jcastr02 ,
you can use the Merge operation in Power Query to do this:
Merge queries (Power Query) - Excel (microsoft.com)
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
6 | |
6 | |
5 | |
5 |
User | Count |
---|---|
10 | |
8 | |
6 | |
6 | |
6 |