cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BMltc
Helper I
Helper I

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. 

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

3 REPLIES 3
BMltc
Helper I
Helper I

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. 

 

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

amitchandak
Super User IV
Super User IV

@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)))

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors