Forum Discussion

ephramz's avatar
ephramz
Helper II
4 years ago
Solved

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. 

  • 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

1 Reply

  • 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