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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
damit23183
Microsoft Employee
Microsoft Employee

Left Join without Merge in PowerBI

Hi,

 

I am trying to achieve the result based on concept of SQL left join in PowerBI. 

 

Steps I took:

 

1) MERGE: Didn't work as it gave me duplicate error becuase of IDs based on which two table are joining. I can't delete any record because some data are designed like that to have multiple things (Rows) for same ID.

 

2) RELATIONSHIP: MANY to One applied but its only gives data which are common in both table. 

 

Expected Result: I would like to have all records from Left table and common from right table.

 

NOTE: There are more than 50 columns in LEFT TABLE and i want all becuase most of them are used to calculate either Measures or other new columns based on conditions.

 

I would like to achieve this result in LEFT table because do not want to create new table as I have already have more than 30 tables in data model.

 

The source of these data is Dynamic365, hope you can understand it is really difficult to find information (from Dynamic 265) so can't remove anything or perform Merge function as it gave me an error.

 

Any suggestion and help would be appreciated!

 

Thanks

2 REPLIES 2
Greg_Deckler
Super User
Super User

Maybe the DAX join functions like NATURALINNERJOIN and NATURALLEFTOUTERJOIN?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

Thanks for quick response.

 

Yes i did think of it but the result of this function is new table which i dont want to create.

 

I want to do everything in Primary table (left Table).

 

Thanks

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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