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 !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
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 !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

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

 

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

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

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