Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
My post title sure seems like an easy to solve problem, but I cannot figure it out.
My data looks like:
| Existing columns | Custom columns | |||||||||||
| Year | FTE | Type | Status | Duration | D <= 4 yr | D <= 4,25 yr | D <= 4,5 yr | D <= 5 yr | D > 5 yr | Dropout < 1yr | Dropout => 1yr | Active |
| 2012 | 1 | INT | Active | 3 | 1 | |||||||
| 2012 | 1 | INT | Done | 4 | 1 | |||||||
| 2013 | 1 | INT | Done | 4,25 | 1 | |||||||
| 2014 | 0,5 | INT | Done | 4,5 | 0,5 | |||||||
| 2014 | 0,75 | INT | Dropout | 0,8 | 0,75 | |||||||
| 2014 | 1 | INT | Dropout | 6 | 1 | |||||||
| 2014 | 0,4 | EXT | Dropout | 0,9 | 0,4 | |||||||
| 2014 | 1 | EXT | Dropout | 5,5 | 1 |
I have made a matrix table in PowerBI and it looks like this:
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 %.
Solved! Go to Solution.
Hi, @Wieuwzak
You can unpivot these columns values in 'Transform Data'.
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.
If you need to add percentage, plase show value as percent of row total.
Best Regards,
Community Support Team _ Eason
Thank you, that is perfect!
Hi, @Wieuwzak
You can unpivot these columns values in 'Transform Data'.
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.
If you need to add percentage, plase show value as percent of row total.
Best Regards,
Community Support Team _ Eason
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 47 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 68 | |
| 51 |