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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Fnoorda
Frequent Visitor

Expanding Table after a merge

Hi, I have a little problem expanding table after a merge

So here have three visualizations 

  1. All
  2. col
  3. Merge1

As you can see two record records match on the highlighted columns, but no rows in the Merge1 table.

Merge_1.png

 

 

 This is how I got to this result.

= Table.NestedJoin(All,{"cec_upn", "dx_dte", "Index"},Col,{"cec_upn", "dx_dte", "Index"},"Col",JoinKind.Inner)

Merge_2.jpg

Merge_3.png

All good sofar.

I then did 

= Table.ExpandTableColumn(Source, "Col", {"cec_upn", "colorectal_case_cde", "dx_dte", "icd3_cde", "Index"}, {"Col.cec_upn", "Col.colorectal_case_cde", "Col.dx_dte", "Col.icd3_cde", "Col.Index"})

Merge_4.pngv

 

Everything was done thru the UI.

 

Can you explain why I get an empty table.

 

Thanks Fred

 

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi Fnoorda,

 

I have test your issue, and it works after I merged two tables:

2.PNG3.PNG

 

One possible condition in your case is that the data type of columns in table All doesn’t  match the data type of columns in table Col. Please check if data types of columns are same in two tables.

1.PNG

 

Please refer to my PBIX file: https://www.dropbox.com/s/clyn58d40vpphtn/For%20Fnoorda.pbix?dl=0

 

Best Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi Fnoorda,

 

I have test your issue, and it works after I merged two tables:

2.PNG3.PNG

 

One possible condition in your case is that the data type of columns in table All doesn’t  match the data type of columns in table Col. Please check if data types of columns are same in two tables.

1.PNG

 

Please refer to my PBIX file: https://www.dropbox.com/s/clyn58d40vpphtn/For%20Fnoorda.pbix?dl=0

 

Best Regards,

Jimmy Tao

Thanks Jimmy that does  solve the problem. Thanks for your help. Powerbi does seem to change the data type sometimes from whatever it is to this "any type"  I asume that equtes to variant.

 

Thanks again.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors