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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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