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
OneWithQuestion
Post Prodigy
Post Prodigy

Table blank if Parent selected that has no Child record?

I have an Order Header table and Order Line table (one order may have many lines in it).

 

I have run into an issue where if I display the Order Header in a table and click on it to filter, other tables which have the same column go blank when they do not have child records as well.

 

I would understand if the 2nd table had only child record columns as no child records exist to display, but I display the Order Header ID along with the Order Line children columns.  Why would it not just show the Order Header ID and the child columns as blank?

 

The Order ID from the parent table Order Header should still show up right?

 

I want to see that Order Header row just with blank entries for Order Line columns

Order Example PBI.png

Order Example PBI Tables.png

 

 

 

 

Order Example PBI Relationships.png

1 ACCEPTED SOLUTION

Hi @OneWithQuestion 

 

Order Header Table is filter Order Line table with single direction.So you may not see the MMM... because there's no MMM... in Order Line table.You may have a look at this article about relationship.For your requirement,i would suggest you create two measures and select 'show items with no data' to get it.Attached sample file for your reference.

Measure_OrderID = MAX('Order Line'[Order ID])
Measure_OrderLineID = MAX('Order Line'[Order Line ID])

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-cherch-msft
Employee
Employee

Hi @OneWithQuestion 

 

You may select 'Show items with no data' for the visual.Then it will show the blank rows.

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It would make sense for this to be the default setting. 

I set that, it did not seem to make any difference.

 

Is there a way I can upload or share the pbix file with you?

Hi @OneWithQuestion 

 

You can upload it to OneDrive and post the link here.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks!

 

link

Hi @OneWithQuestion 

 

Order Header Table is filter Order Line table with single direction.So you may not see the MMM... because there's no MMM... in Order Line table.You may have a look at this article about relationship.For your requirement,i would suggest you create two measures and select 'show items with no data' to get it.Attached sample file for your reference.

Measure_OrderID = MAX('Order Line'[Order ID])
Measure_OrderLineID = MAX('Order Line'[Order Line ID])

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.