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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors