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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
ephramz
Helper II
Helper II

Combing table

I have two tables

1) Table 1

Column name: (Strategy), (Repair Scheme), (Engine Type), (Package), and otehr columns

2)Table 2:
Column name: (Strategy), (FRS), (EngType), (Package Code), and otehr columns

The 4 columns listed for both table have values that corresponds to each other.

 

In table 2, I have this column called T1Pack.
I wish to create a new column in Table 1 such that it have this new column T1Pack

 

How can I go about doing this. What is the DAX expression for this?

Help is appreciated. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ephramz , Try a new column like this in table 2

 

maxx(filter(Table2 , Table1[Strategy] = Table2[Strategy] && Table1[Engine Type] = Table2[EngType] && Table1[Package] = Table2[Package Code] ),Table2[T1Pack])

 

add or remove joins in filter

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@ephramz , Try a new column like this in table 2

 

maxx(filter(Table2 , Table1[Strategy] = Table2[Strategy] && Table1[Engine Type] = Table2[EngType] && Table1[Package] = Table2[Package Code] ),Table2[T1Pack])

 

add or remove joins in filter

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.