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
tvanover
Helper II
Helper II

show items with na data on a group field

Hi,

 

I have a report where I link a table with sales orders lines, to a table with delivery lines

because 1 sales order line can have one or more delivery lines, and I am only interested in the total delivered quantity, I have made an aggregate field on the sum of the delivery lines quantity field.

 

that works well, if there is at least one delivery line.

But I also want to see a record for a sales order line, if there is no delivery line.

 

If I wasn't grouping the quantity field, I could use the 'show items with no data' option.

But on a grouped field, this option is not available.

 

So how do I solve this problem?

 

thx,

Tom

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

I'm not sure what you mean by 'grouped field'. How have you done the aggregation? You still be able to set 'show items with no data' on the sales order line field? And just use a measure for: 

 

Qty Delivered = SUM(DeliveryTable[Qty])


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @tvanover ,

Before grouping, it exists in the empty value row, so you can display the show items with no data option

Once grouped, the null values are summarized and cannot be displayed

 

If my answer is not what you need, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AllisonKennedy
Super User
Super User

I'm not sure what you mean by 'grouped field'. How have you done the aggregation? You still be able to set 'show items with no data' on the sales order line field? And just use a measure for: 

 

Qty Delivered = SUM(DeliveryTable[Qty])


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.