cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
semidevil Regular Visitor
Regular Visitor

Easiest way to create a binned histogram.

I have a table that has a column of values that range from, for example, -50% to +50%.

I want to be able to bin my data set so I can get a histogram in 5% increments.  i,e a bar chart that shows how many falls in the

[-999%,-50%, ],[-50%,-45%), [-45, -40%),.......[+50%,+999%]

Even in standard excel,  I only know how to do this with a "CountIf" statement.  However, this is something that i do every regularly, so I"m wondering if there is actually an easier way to do this than always typing it up.

 

If there is, is there  way to do this in PowerBI?  I want to easily bin my data in 5% increments, but not have to type up a formula every single time.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Easiest way to create a binned histogram.

There is a custom visual that will do that https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380776?src=office



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
1 REPLY 1
Super User
Super User

Re: Easiest way to create a binned histogram.

There is a custom visual that will do that https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380776?src=office



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 139 members 1,826 guests
Please welcome our newest community members: