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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
lilin
New Member

UNABLE TO INCLUDE SUBTOTAL IN A TABLE

I have a data set for vessel shipments. Each shipment may constitute 2 or more data points (e.g. one shipment can have 3 rows of data). When I set up the table to do analysis, I would like to include a row to calculate the subtotal across each shipment but am unable to do so. May I know how can I go about solving this issue? Thank you.

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@lilin ,

 

You may try the Matrix visual instead.

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

@v-chuncz-msft,

 

Thanks for getting back. 

 

However, if I try the matrix visual, only the subtotal will be shown but not the individual values. 

 

So for example, I have one shipment to country A, B and C with different quantities each. If I use Matrix, it will show up as shipment 1, country A then the subtotal. 

 

But, I would like to display them in a format similar to the one below:

No.CountryQuantity
1A1,000
1B2,000
1C3,000
Subtotal 6,000
2D5,000
2E5,000
Subtotal 10,000
3C1,000
3F1,000
Subtotal 2,000
Total 18,000

 

Is this possible to be done in Power BI? 

 

Thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.