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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jmckentr
Frequent Visitor

How to combine two column from two different table into one.

I need to merge two columns from two septerate tables into one new table without going into edit mode (dont have ability to - long story).

 

Example:

Sales FY 17ShipDateMethodYear
929191/20/2017Y2017
800922/23/2017T2017
998563/4/2017Y

207

 

Sales FY 16ShipDateTypeMonth
367721/20/2016AirJan
237682/23/2016PortFeb

 

SalesShipDate
929191/20/2017
800922/23/2017
998563/4/2017
367721/20/2016
237682/23/2016

 

Is there DAX funcationality or something else that can help me achieve this?

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@jmckentr

 

You just need to summarize FY and ShipDate column for both tables and UNION() them together.

 

Table = UNION(SUMMARIZE(FY17,FY17[Sales FY 17],FY17[ShipDate]),SUMMARIZE(FY16,FY16[Sales FY 16],FY16[ShipDate]))

12.PNG

 

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@jmckentr

 

You just need to summarize FY and ShipDate column for both tables and UNION() them together.

 

Table = UNION(SUMMARIZE(FY17,FY17[Sales FY 17],FY17[ShipDate]),SUMMARIZE(FY16,FY16[Sales FY 16],FY16[ShipDate]))

12.PNG

 

 

Regards,

ibarrau
Super User
Super User

You need to relate them in relationship view or in dax formula to proceed with this. If you already have them related, there is no need to write a dax creating a new table, you can just add a column to * table of relation with =RELATED('Table'[ColumnName]).

 

Regards,

 


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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