Skip to main content

Power BI

Completed

Percent of total

Vote (791) Share
Haydn Richardson's profile image

Haydn Richardson on 06 Dec 2014 03:56:36

In addition to sum, average, min, max etc. I'd like an option in values for % of total

Administrator on 01 Jun 2016 05:13:31

We shipped % of grand total as a part of quick calcs in the May release of Power BI desktop. Next up, % of column and % of row total. Give it a try and let us know what you think. For info on how to use it, check out the blog post covering our May feature releases: https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-may-update-feature-summary/

Comments (78)
Haydn Richardson's profile image Profile Picture

c300827a 9882-403f-93d0-d70c60a1353d on 05 Jul 2020 22:17:42

RE: Percent of total

You can use a measure to create a percentage until there's a better solution. It works just like Excel. Create a new measure, choose the percentage option from the "data type" dropdown in the tool bar. Then, create a new measure: =sum(total value)/=sum(divisible value). Your measure will then appear in the right column.

Haydn Richardson's profile image Profile Picture

b0b750e8 7cd3-407c-ad98-5691ad8ea6fb on 05 Jul 2020 22:17:41

RE: Percent of total

Certanly should be part of the basic design. Its almost impossible do not use %. I'm wainting for this, like the numbers at filled map chart.

Haydn Richardson's profile image Profile Picture

b734b78e ea67-41ee-aed1-27b9e138d214 on 05 Jul 2020 22:17:37

RE: Percent of total

Why wouldn't this be part of the basic design? Statistics require percentages.... or am I crazy?

Haydn Richardson's profile image Profile Picture

02ceb6e3 abee-e911-a812-000d3a4f1cdd on 05 Jul 2020 22:17:35

RE: Percent of total

I am actually surprised this is not an option yet!

Haydn Richardson's profile image Profile Picture

371af1e8 685b-479a-98fa-bfb2a87ad97e on 05 Jul 2020 22:17:35

RE: Percent of total

Very useful function... when can it be ready?

Haydn Richardson's profile image Profile Picture

704ab4d5 50ff-4a65-8b26-3a88b81ad66b on 05 Jul 2020 22:17:29

RE: Percent of total

even good old excel can do this ...

Haydn Richardson's profile image Profile Picture

5c2bfd29 6f47-45eb-9187-fd1ac20825d0 on 05 Jul 2020 22:17:28

RE: Percent of total

What if the values ar string like LETTERS (A, B,C)? How to we create a calculated column of for the percentages of these values? I have a list of letter grades and I need to create percentages.

Haydn Richardson's profile image Profile Picture

cbc91c3d 93f4-487a-b76f-b0011616af30 on 05 Jul 2020 22:17:28

RE: Percent of total

Can anyone tell me how we can get the % of total when im using DirectQuery mode to a SQL database?

Haydn Richardson's profile image Profile Picture

ebfccda6 35e2-4098-b9d6-93987599a73f on 05 Jul 2020 22:17:26

RE: Percent of total

It would be great if we can use a chart and we can show the absolut value and the percentage value on the same chart. If there is a pie chart with 2 categories, the result should be like:
Category 1: 150 (75%)
Category 2: 50 (25%)

or

Category 1: 75% (150)
Category 2: 25% (50)

It would be nice if there are 1 or 2 flags to define the description with both values or with only one value.

Haydn Richardson's profile image Profile Picture

aaf1f657 1890-408e-b439-ee1ea52c8254 on 05 Jul 2020 22:16:57

RE: Percent of total

%OfTotal=(Table[TotalAmount])/CALCULATE(Table[TotalAmount],ALLSELECTED () )*100

Note: TotalAmount is the measure in my dataset.