March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.