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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
stmicbarr
Frequent Visitor

Expanding a merged table clears out original table column data

Hi,

 

I have a Power BI query that has worked perfectly for months, but now a query is doing something I have never seen before.  

 

In one step, I have merged two tables.

mergeformula.png

Note 'statuscode_display' column values.

Merge.png

 

In the next Applied Step, I have expanded the merged table columns.  

expandformula.png

Note that the 'statuscode_display' values have been cleared out entirely.

Expand.png

Selection.png

 

Why am I losing the column data?

 

Thanks in advance for your help!

Michael

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @stmicbarr ,

The reason that casue this issue is that there is no corresponding value in the right table when you are using left outer join to merge two tables in power query.

 

About merge tables and join kind, you can refer these articles that could help you:

  1. Joins in Power BI
  2. How to Change Joining Types in Power BI and Power Query 

 

Best Regards,
Yingjie Li

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

 

The 'statuscode_display' column is not related to the merged query or expanding it to reveal the new columns.  This is simply the step in the query where the values in the column disappear.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.