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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Wieuwzak
Frequent Visitor

Missing column totals and how to add %

My post title sure seems like an easy to solve problem, but I cannot figure it out.

 

My data looks like:

Existing columnsCustom columns
YearFTETypeStatusDurationD <= 4 yrD <= 4,25 yrD <= 4,5 yrD <= 5 yrD > 5 yrDropout < 1yrDropout => 1yrActive
20121INTActive3       1
20121INTDone41       
20131INTDone4,25 1      
20140,5INTDone4,5  0,5     
20140,75INTDropout0,8     0,75  
20141INTDropout6      1 
20140,4EXTDropout0,9     0,4  
20141EXTDropout5,5      1 

 

 

I have made a matrix table in PowerBI and it looks like this:

Wieuwzak_0-1654013055502.png

Wieuwzak_1-1654013068503.png

 

How to add totals? -> settings Column subtotals is enabled, does nothing
How to add percentage? e.g 2012 D <= 4yr (14) as a % of the total row of 2012 (14+8+10+10+5+10). So (14/57) = 24,6%
I  have some filters on the visual: Year (2012-2017) and Type (INT)

 

If someone can point me in the right direction that would be so helpful. Ps. I need this table in a chart later so that's the reason I didn't use a division measure formatted as %.

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Wieuwzak 

You can unpivot these columns values in 'Transform Data'.

veasonfmsft_0-1654235676961.png

Then apply new fields 'Attribute' and 'Value' to matirx.

In this way, the total value of the rows in the matrix can be easily obtained without any coding.

veasonfmsft_1-1654235724026.png

If you need to add percentage, plase show value as percent of row total.

veasonfmsft_2-1654236521968.png

Best Regards,
Community Support Team _ Eason

 

View solution in original post

2 REPLIES 2
Wieuwzak
Frequent Visitor

Thank you, that is perfect! 

v-easonf-msft
Community Support
Community Support

Hi, @Wieuwzak 

You can unpivot these columns values in 'Transform Data'.

veasonfmsft_0-1654235676961.png

Then apply new fields 'Attribute' and 'Value' to matirx.

In this way, the total value of the rows in the matrix can be easily obtained without any coding.

veasonfmsft_1-1654235724026.png

If you need to add percentage, plase show value as percent of row total.

veasonfmsft_2-1654236521968.png

Best Regards,
Community Support Team _ Eason

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.