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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
LiamReidy
Helper I
Helper I

How to get a percentage column in matrix table

Hi Community,

 

I want have a matrix which shows the number of people that have completed training. It is broken down by division, sub division, practice, and gives a headcount for the practice. I also want to show the percentage of people who have completed training in each practice, sub division and vision.

 

When I add the % completion to my matrix, the practices are correct but the division and subdivision % are a sum of the practice %, which is inaccurate. The % for division should be grand total completed / grand total headcount. The % completed for sub division should be sub total completed / sub total headcount. See right hand table Figure 2.

 

Figure 1 shows my data from excel:

 

Figure 1:

LiamReidy_1-1593026094112.png

 

Figure 2:

LiamReidy_0-1593026053595.png

 

 

1 ACCEPTED SOLUTION
FrankAT
Community Champion
Community Champion

Hi @LiamReidy,

here is my solution (see figure):

24-06-_2020_23-02-49.jpg

 

Regards FrankAT

View solution in original post

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @LiamReidy ,

 

You could refer to the following measure:

Measure =
IF (
    ISINSCOPE ( 'Table'[Practice] ),
    SELECTEDVALUE ( 'Table'[Percentage] ),
    DIVIDE ( SUM ( 'Table'[Completed] ), SUM ( 'Table'[headcount] ) )
)

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
FrankAT
Community Champion
Community Champion

Hi @LiamReidy,

here is my solution (see figure):

24-06-_2020_23-02-49.jpg

 

Regards FrankAT

Thank you @FrankAT ! I seem to be 90% of the way there. I cant seem to find where to change it from a decimal to a %. Can you let me know please then will accept as a solution. (i will accept it if i find it before another reply )

 

LiamReidy_0-1593071153007.png

 

 

Thanks,

Liam

Hi, @LiamReidy,

select the measure, open tab Measure tools and change the formatting (see figure):

 

25-06-_2020_16-13-26.jpg

 

Regards FrankAT

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.