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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Hiding totals in matrix when there is only one row in the group

How can I hide the entire column totals row when there is only one row in the group and the totals are redundant?

5 REPLIES 5
Anonymous
Not applicable

@Greg_Deckler   Any luck hiding unnecessary subtotal rows?

Anonymous
Not applicable

@Greg_Deckler 

I fixed the sort issues using the "Sort By Column" functionality. One down, 2 to go.

 

Here's the updated code:

DECLARE @Summary table
(
[GroupSort] tinyint,
[Group] varchar(50),
[TypeSort] tinyint,
 [Type] varchar(20),
[SubType] varchar(50),
[Value] decimal(16,4),
[DisplayValue] decimal(16,4)
)
 
INSERT INTO @Summary([GroupSort],[Group], [TypeSort], [Type], [SubType], [Value], [DisplayValue])
VALUES (1,'Capital', 1, 'FUNDS', 'Capital', 21060552, 21060552),
(2,'Capital to Investments', 1, 'FUNDS', 'Commitments', -3000000, 3000000),
(2,'Capital to Investments', 1, 'FUNDS', 'Fees Paid>Commitments', -202000, 202000),
(3,'Assumed Fees*', 1, 'FUNDS', 'Assumed Fees', -2757569, 2757569),
(1,'Capital', 2, 'DIRECTS', 'Capital', 21060552, 21060552),
(2,'Capital to Investments', 2, 'DIRECTS', 'Commitments', 0, 0),
(2,'Capital to Investments', 2, 'DIRECTS', 'Fees Paid>Commitments', 0, 0),
(3,'Assumed Fees*', 2, 'DIRECTS', 'Assumed Fees', -2757569, 2757569)
 
SELECT * FROM @Summary
 
brookseitz_0-1713987895699.png

 

Greg_Deckler
Community Champion
Community Champion

@Anonymous I don't think that's really a thing but if you can provide sample data could maybe give it a shot.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

It's absolutely a thing that I've done for a long time in other reporting tools. Actually there are several things I'm trying to figure out how to do that are fairly easy to do elsewhere.

 

1. Hide repetitive total rows (i.e. there's only one detail row in the group

2. Sort columns, groups and rows

3. Display absolute values (in accounting, some values are assumed to be negative)

 

I kinda figured out the sorting issues but haven't resolved how to hide the sort values/groupings.

 

Here's an example of where I am:

 

brookseitz_2-1713974100980.png

 

Here's were we're trying to get to and also would like to show absolute value for all numbers:

 

brookseitz_0-1713973953672.png

Thanks for your help,

Brook

 

@Anonymous Yeah, but can you save me having to type a bunch of fictious data and just post some sample data as text that can be used to recreate the scenario?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors