Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
50 | |
45 | |
38 | |
38 |