Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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 November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!