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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

1 to many relationship with nulls on "many" side

Hi, I have created a 1-to-many relationship and am then using the RELATED() function to bring data from the "one" to the "many" side. 

 

I am creating a relationship with a cost code category (just a code to bucket certain costs). However, the "many" table is missing a cost code category that the "one" table has. Thus, I do not see that cost code when I visualize the "many" table with data from the "one" table.

 

Is there a way to create a new table that populates with the one and many data? This way, a row will be created with data from the "one" side, even if the "many" side is missing that category?

 

Thanks for your help, I really appreciate it!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

2 REPLIES 2

Hi @Anonymous ,

 

Can you provide example data or an example model?

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


amitchandak
Super User
Super User

@Anonymous , You can check the merge option in the power query

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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