Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
13 | |
13 | |
13 | |
12 |