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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
BMltc
Helper II
Helper II

Table with subtotal (basis 100)

Hi everyone,

 

I have a dataset like this:

BMltc_0-1613990085661.png

I would like to create a table or a matrix in order to have the score of each category (as if the sum of each name within them is 100%) like this:

BMltc_1-1613990161406.png

with the score of the category 1 is 7.2 = 5*30%/(30%+35%) + 9*35%/(30%+35%)

 

any idea?

 

many thanks

 

Boris

1 ACCEPTED SOLUTION

@BMltc , if this option can work, you do not need additional measuresPercent of total.png. This will show subtotal too as you have more than one column in the row. 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
BMltc
Helper II
Helper II

thanks @amitchandak , so I need to create an additionnal column just for the score of each subgroup?

@BMltc , if this option can work, you do not need additional measuresPercent of total.png. This will show subtotal too as you have more than one column in the row. 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@BMltc , In a matrix you can right on the measure in visual pane and use % of total or % of sub total

 

 

or try measures like

 


Percent of sub Toal = divide([score], calculate([score], allselected(Table, Table[categorty] =max(Table[category]))))

 

 

Percent of Toal = divide([score], calculate([score], allselected(Table)))

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors