Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MarlenaPW2
Regular Visitor

Merge query works but values in other column turn 'null'

Hi,

I'm trying to create a new column with people's names (table Risk) based on user id number (stored in a different table - system user). In this particular table, I hoped to do that through merge query. However, once I applied this step, values from other random columns disappeared and now return 'null'. Do you have any advice where I went wrong?

Thanks,

Marlena

3 REPLIES 3
Anonymous
Not applicable

Hi @MarlenaPW2 ,

 

This is most likely due to the fact that you have selected the wrong join kind, or that your matching columns are not exactly the same. Please check your join kind and matching columns, and enable fuzzy matching if necessary.

Merge queries overview - Power Query | Microsoft Learn

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

 

j_ocean
Helper V
Helper V

Hard to tell from this but common pitfalls here are the "other table" having more than one row for the key being used, and/or you're doing an outer merge and you're seeing nulls in table A for a key that only exists in table B or vice versa.

KNP
Super User
Super User

Hi Marlena,

 

It's hard to be certain with just screenshots. If you share the code from the advanced editor it would be helpful. (hide any sensitive info)

 

Based on what you've said though, the only thing I can think that would cause that is the join type you used for the merge. What join type did you use?

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
chrome-9xf-Zagzel-B

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
KIfp67uy-Sr
Proud to be a Super User!PBI-Super-User-Rank-30x30-1x

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