Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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