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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 - Power BI Tutorials


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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.