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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lg1551
Resolver II
Resolver II

Calculation Group Within a Matrix & Hierarchy Totals

I have a calculation group which is pulling values into a matrix table.

 

I have a hierarchy of Region and Location. For any Regions that do not have Locations I am getting two lines, 1 for Total and one for the values.

 

I am getting this result:

 

RegionLocationSegment 1Segment 2Segment 3Segment 4
Europe 1111
 Total1111
Asia 1111
 Total1111
North AmericaLocation11111
 Location21111
 Location31111
 Total1111
South America 1111
 Total1111

 

And I want this result:

RegionLocationSegment 1Segment 2Segment 3Segment 4
Europe 1111
Asia 1111
North America 1111
 Location11111
 Location21111
 Location31111
South America 1111

 

How can I incorproate "InScope" or other functionality to provide the totals on the correct line items and not create the additional rows?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @lg1551 ,

Please select the related matrix visual and navigate to Format pane to toggle off the option "Row subtotals", Later check if you can get the expected result.

yingyinr_0-1661757901387.png

If the above one can't help you, please provide some raw data refer in the matrix and the Fields settings of the matrix. Thank you.

yingyinr_1-1661758059582.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @lg1551 ,

Please select the related matrix visual and navigate to Format pane to toggle off the option "Row subtotals", Later check if you can get the expected result.

yingyinr_0-1661757901387.png

If the above one can't help you, please provide some raw data refer in the matrix and the Fields settings of the matrix. Thank you.

yingyinr_1-1661758059582.png

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.