Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Stacked Column Chart Help with % Count



I have a measure that gives the percentage of on time deliveries we make for each customer with the following formula

(Difot Monthly % = divide(sum(Difot[Difot Pass Count]),sum(Difot[Difot Count]))

eg Difot.PNG

Im trying to think of a formula to give the count of how many customers would fall into each braket such as difot <50%, 50 - 60%, 70-80%, etc up to 100% so I can create a stacked column chart and show by month.

SuperCorp Graph.PNG

The Above is a manual upload that wont change with the new month

I have tried the following 

<50% = COUNTROWS(filter(Difot,DIVIDE(sum(Difot[Difot Pass Count]),sum(Difot[Difot Count]))<=50)) but it returns the number of rows.
But i realise I want to count how many customers fall into each bracket which I haven't been able to include.
Any ideas?
Thanks in advance,
Super User IV
Super User IV

Please see this post regarding How to Get Your Question Answered Quickly:


@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors