Showing results for 
Search instead for 
Did you mean: 
konstantinos Senior Member
Senior Member

Re: Percent of Total

@greggyb You are right..

Konstantinos Ioannou
ronpadz Regular Visitor
Regular Visitor

Re: Percent of Total

@greggyb Thanks for putting this together so succinctly. In applying your solution I found that your first expression should actually be:


TotalQuantity =
SUM( 'Table'[Quantity] )

% Total =
        ,ALL( 'Table' )


SA_NYC Regular Visitor
Regular Visitor

Re: Percent of Total

Thanks so much for this, it was surprisingly hard to find a concise write-up on how to do this. I think this about the fifth time I've used one of your DAX approaches, so your contributions are very much appreciated.

cabc_xlorla Frequent Visitor
Frequent Visitor

Re: Percent of Total

Hello community, greetings from Lima!.

I am using this formula proposed by you:

04_%of_total_leads =
But the % is not adjusting when I filter another visual... I mean the context filtering is not adjusting accordingly... please help!
hbarrett Frequent Visitor
Frequent Visitor

Re: Percent of Total

Building on this - I am trying a similar approach (using your same formula) and not getting the answer I expect.


Effectively, I am building a stacked bar chart where I hope to determine % of total business in each calendar year and month (so year + month is a bar in the chart). I am only showing for our top 15 customers, so by construction, the total % should be < 100 for a given period. The total currently exceeds 100 in each period, so something is definitively wrong with the calculation (namely, the numerator is probably for data for more than just the period for the shown bar).


Do you have advice as to how to fix this? Specifically, I am connected to a company database, so I can only add measures, not calculated columns. Many thanks in advance for your help!

Helpful resources

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 329 members 3,626 guests
Please welcome our newest community members: