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
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
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
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-yiruan-msft
Community Support
Community Support

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

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

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.