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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors