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
MansRydell
Helper II
Helper II

Don´t know what to call it, Subsum in Matrix problems?

Hi all

 

I need to make a Martix that looks like this.

 

DepartmentBudgetResult 
1 HR-12-11 
2 Traffic-6-8 
3 School-21-22 
4 Sum-39-41Sum of row 1-3
5 Pensions-52-50 
6 Intrest-2-3 
7 Net cost-93-94Sum of row 1-3, 5-6
8 tax net9091 
9 finans net46 
10 Result 13Sum of row 1-3, 5-6, 8-9

 

 

Using Groups I´ve managed to produce this, but I can´t get it to add upp the sums like I want. I only get subtotals and summed group rows are in wrong possission.

DepartmentBudgetResult 
1 Sum-39-22

Sum of row 2-4

2 HR-12-11 
3 Traffic-6-8 
4 School-21-22 
5 Net cost-54-53Sum of row 6-7
6 Pensions-52-50 
7 Intrest-2-3 
8 Result 9497Sum of row 9-10
9 tax net9091 
10 finans net46 

 

Is there a way to make the sums being added like in example and also make said sums apper in the order customer want?

 

Please tell me if there is any additional info I can provide thet can be of intrest 

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @MansRydell ,

I have a little confused about your scenario.

It seems that the Budget and the Result are your output not the data sample.

If it is convenient, could you share the data sample?

In addition, how do you group the Department? Could you describe your logic in more details?

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
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.