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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.