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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Matching column in Power Query

Hello communities ! 

 

I want to do matching different from differents tables (let say Table1 and Table2),

then I want to take column "LienPhoto" from table 2, and put it in column "Photo" in Table1 

 

Is this possible through a power query or DAX calculation?

Thank you so much!

 

Best Regards,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

About matching columns by dax, please kindly refer to this article.

The main measure is like

  [Is this company a metals company] =

  =IF(
      SUMX(MatchList,
           FIND(
                UPPER(MatchList[Keyword]),
                UPPER(Companies[Company])
                ,,0
               )
          ) > 0,
      “YES!”,
      “Probably Not”
     )

 

About matching columns in Power Query, you can refer to MATCH between 2 tables. Mainly rely on the following two operations.

 

Another solution using Query Editor.

1. Left Outer Join

2. Conditional Column.

 

See the attached screenshots.

1.PNG

 

LEFT OUTER JOIN

2.PNG

 

EXPAND COLUMN

3.PNG

 

CONDITIONAL COLUMN

4.PNG

 

FINAL OUTPUT

Reference: Matching between 2 tables

 

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

About matching columns by dax, please kindly refer to this article.

The main measure is like

  [Is this company a metals company] =

  =IF(
      SUMX(MatchList,
           FIND(
                UPPER(MatchList[Keyword]),
                UPPER(Companies[Company])
                ,,0
               )
          ) > 0,
      “YES!”,
      “Probably Not”
     )

 

About matching columns in Power Query, you can refer to MATCH between 2 tables. Mainly rely on the following two operations.

 

Another solution using Query Editor.

1. Left Outer Join

2. Conditional Column.

 

See the attached screenshots.

1.PNG

 

LEFT OUTER JOIN

2.PNG

 

EXPAND COLUMN

3.PNG

 

CONDITIONAL COLUMN

4.PNG

 

FINAL OUTPUT

Reference: Matching between 2 tables

 

 

Best Regards,

Stephen Tao

 

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

AlB
Community Champion
Community Champion

Hi @Anonymous 

Not clear. Show some sample data for the input as well as the expected output and base your explanation on that.

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.