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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NickProp28
Post Partisan
Post Partisan

Joint a measure column and form a new table

Dear Community,

I have two table, Client and Teu tables

Client table

NickProp28_0-1615535019200.png

TEU table

NickProp28_1-1615535044172.png

 

I want to join the client and TEU to a new table

Taking ConsolNumber and Unique Match Column from Client table, remove duplicate. And then join to TEU table all columns.

At the end, I have ConsolNumber, UniqueMatchColumn, TEU and ETD in a new table.

I knew that there have append queries option in query editor, but since column unique match is a measure column. So I cant use this option. 

 

Here is the example pbix: https://ufile.io/mppry8cy

 

Appreciate any helps and thank for your attention!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@NickProp28 , first create a copy of the table 1, remove columns other then ConsolNumber and Unique Match Column

 

delete duplicates. Them merge with table 2

 

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Create a table from the table and delete duplicate

https://www.youtube.com/watch?v=kU2M1LmNvNo

https://www.youtube.com/watch?v=vHuhbvYCiNc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@NickProp28 , first create a copy of the table 1, remove columns other then ConsolNumber and Unique Match Column

 

delete duplicates. Them merge with table 2

 

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

Create a table from the table and delete duplicate

https://www.youtube.com/watch?v=kU2M1LmNvNo

https://www.youtube.com/watch?v=vHuhbvYCiNc

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

Thanks for the reply. I know there have merge option in query editor, but Unique Match is a measure column. So it do not show in the power query editor. 

NickProp28_0-1615538026927.png

 

@NickProp28 , Then you have to it DAX.

 

Summarize(Table, Table[ConsolNumber], "Unique Match" , [Unique Match] )

 

Then cross join with filter

 

examples

filter(crossjoin(Table2, Summarize(Table1, Table1[ConsolNumber], "Unique Match" , [Unique Match] )), [ConsolNumber] =[ConsolID]) //add more in filter if needed

 

natural inner and other option explore

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Dear @amitchandak ,

Thanks for the guide. I have this new table

NickProp28_0-1615541203634.png

But I'm not allow select the specific table column for table 2. I do not want another ConsolID show in this new table, 
I tried this DAX, but fail to excute.

Newtable = FILTER(CROSSJOIN(SUMMARIZE(TEU,TEU[ETD],TEU[TEU]),Summarize(Client, Client[ConsolNumber], Client[Unique Match Column] )),Client[ConsolNumber]= TEU[ConsolID])

Kindly advice 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors