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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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