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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
tfgardner
Frequent Visitor

How can we get subtotals with Grand Totals and grand "subtotals" in a matrix

We have a need to show subtotals and a grand total - but also a grand total of each of the subtotal rows.  For example we have a series of cities and then a break out of hours worked Reg and OT under each city.  We are only getting a Grand total of all the hours but we also need to see a total of all the Reg and then another total of all the OT.  This is easy in a pivot table or SSRS.  Is this just a limitation of PowerBI matrix?

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @tfgardner 

If the Reg and OT are the value of one filed. If so, just use drill mode in matrix visual

https://docs.microsoft.com/en-us/power-bi/consumer/end-user-drill

If they are different fileds, you could do unpivot columns in Edit Queries.

In edit queries, select Reg and OT, then unpivot them and use drill mode in matrix visual.

 

Best Regards,

Lin

Community Support Team _ Lin
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

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @tfgardner 

If the Reg and OT are the value of one filed. If so, just use drill mode in matrix visual

https://docs.microsoft.com/en-us/power-bi/consumer/end-user-drill

If they are different fileds, you could do unpivot columns in Edit Queries.

In edit queries, select Reg and OT, then unpivot them and use drill mode in matrix visual.

 

Best Regards,

Lin

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.