cancel
Showing results for
Did you mean:
Super User III

## Re: Percent of total

My solution is based on a measure.

Can you share a sample file? If there is sensitive information you can share in private message.

Regards,

MFelix

Regards

Miguel Félix

Proud to be a Datanaut!

Check out my blog:

Power BI em Português

Helper II

## Re: Percent of total

Pm'd

Community Support

## Re: Percent of total

Hi @KGuyton

Create measures

```Measure = CALCULATE(SUM('Table'[Total Revenue]),ALL('Table'))

Measure 2 = CALCULATE(SUM('Table'[Total Revenue]),ALLEXCEPT('Table','Table'[Company]))

Measure 3 = [Measure 2]/[Measure]```

Best Regards
Maggie

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helper II

## Re: Percent of total

Close but the percentages are off for some reason.  Total revenue for that time period is 11.14M.  Line 4 should be closer to 12% but your measure shows 3.49%.

Community Support

## Re: Percent of total

Hi @KGuyton

I don't know how you get the measure "Total%"?

As tested, my result is as below:

Best Regards
Maggie

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helper II

## Re: Percent of total

you are only showing the percentage based on those 20 companies.  My goal is to show the percentage based on all the companies even when the table is set to show only the top 20 companies based on revenue.  The top 20 companies will not make up 100% of the revenue.

Pretend you have a table in excel with all companies sorted by revenue and their respective percentages.  Then you hide all companies except the top 20, the percentages should not change.

Community Support

## Re: Percent of total

Hi @KGuyton

There may be some misunderstanding.

The [total] measure is the total regardless of the top 20, its the total of all revenues for all companies.

Best Regards
Maggie

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

#### MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

#### ‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors