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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Leyre1910
New Member

Matrix tabular layout: Totals

Hello!! I have to replicate this table format in Power Bi:

Leyre1910_0-1742483108890.png

At the moment with the matrix visualization and activating the "Tabular Layout" i have achieved this.

Leyre1910_1-1742483245759.png

In this matrix data, description, practitioner, hours and tax are inserted as rows.

Administratore2024 and Adminisrtratore2025 are part of the field "Order Description" inserted as column wich dependid of the practitioner selected will have more or less orders (columns). 

And the total is a measure that multiplies the hours and tax.

Leyre1910_1-1742482537719.png

The problem is that im missing the Hours total under the hours column. Is there anyway i could achieve this??

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Leyre1910 , if you mean the total for "Ore". Matric will not show the total for the Rows/Columns field. Add that as a measure again in values to get the total

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-kpoloju-msft
Community Support
Community Support

Hi @Leyre1910,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @amitchandak, for your inputs on this issue and it is right.

It appears that the issue you're encountering is due to the missing total in the "Ore" (Hours) column of your Matrix visualization in Power BI. Power BI Matrix visuals do not automatically aggregate numeric fields (such as Ore or Tariffa) when they are placed in the Rows section. Instead, they are treated as categorical labels, resulting in no total calculation.

 

To resolve this, create a new measure for total hours: In the Fields pane, right-click on your data table and select New Measure, then input this DAX formula: 
Total_Ore = SUM('YourTableName'[Ore])

Update your Matrix: Remove the "Ore" field from the Rows section and add the newly created Total_Ore measure to the Values section. This will ensure that the total for "Ore" is correctly displayed for each Order Description and in the grand total at the bottom.

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

Thank you for using Microsoft Community Forum.

View solution in original post

5 REPLIES 5
v-kpoloju-msft
Community Support
Community Support

Hi @Leyre1910,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @amitchandak, for your inputs on this issue and it is right.

It appears that the issue you're encountering is due to the missing total in the "Ore" (Hours) column of your Matrix visualization in Power BI. Power BI Matrix visuals do not automatically aggregate numeric fields (such as Ore or Tariffa) when they are placed in the Rows section. Instead, they are treated as categorical labels, resulting in no total calculation.

 

To resolve this, create a new measure for total hours: In the Fields pane, right-click on your data table and select New Measure, then input this DAX formula: 
Total_Ore = SUM('YourTableName'[Ore])

Update your Matrix: Remove the "Ore" field from the Rows section and add the newly created Total_Ore measure to the Values section. This will ensure that the total for "Ore" is correctly displayed for each Order Description and in the grand total at the bottom.

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

Thank you for using Microsoft Community Forum.

Hi @Leyre1910,

 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Hi @Leyre1910,


I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

Hi @Leyre1910,


I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.


Thank you.

amitchandak
Super User
Super User

@Leyre1910 , if you mean the total for "Ore". Matric will not show the total for the Rows/Columns field. Add that as a measure again in values to get the total

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors