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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Chrisv013
Frequent Visitor

Subtotals by level in matrix

I want to replicate the following matrix, where I need to generate the subtotal by area at each level. Does anyone know how to replicate this? Could it be done with the original matrix or by trying another chart? 

 

Chrisv013_1-1722889870480.png

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Chrisv013 Perhaps with a disconnected table. If you provide sample data posted as text could probably be more helpful.



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg, I can do a test with the disconnected tables. Here I share some test data. The idea is to be able to generate the subtotals by area at each level in the same matrix. Here it will be by Division and by Company, like the image.

Chrisv013_0-1722893448974.png

 

 

EMPRESADIVISIONPRODUCTOAREA Sales 2023  Sales 2024 
BELDPPREDKENFRONTERA                                 705                                456  
BELDPPLPDIRECTO                                 115                                760  
BELDPPLPFRONTERA                                 686                                330  
BELDPPKERDIRECTO                                 679                                919  
BELDPPKERFRONTERA                                 198                                456  
BELDPPREDKENDIRECTO                                 159                                335  
BELCPDL'OREALDIRECTO                                 592                                970  
BELCPDL'OREALFRONTERA                                 361                                812  
BELCPDMAYDIRECTO                                 839                                881  
BELCPDMAYFRONTERA                                 446                                412  
BELCPDGARNIERDIRECTO                                 906                                811  
BELCPDGARNIERFRONTERA                                 435                                160  
BELCPDCORINE DE FARMEDIRECTO                                 524                                907  
BELCPDCORINE DE FARMEFRONTERA                                 619                                407  

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors