What is BIN in Power BI?

Cody Schneider••9 min read

Grouping an overwhelming number of data points into manageable chunks can transform a messy chart into a clear story. In Power BI, creating these groups is called "binning," and it’s one of the simplest yet most effective ways to make sense of your data. This article will show you exactly what Power BI bins are, why they are so useful for analysis, and how you can create them step-by-step in your own reports.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

What Exactly is Binning in Power BI?

Binning is the process of grouping a continuous range of values into a smaller set of discrete intervals, or "bins." Think of it like a set of buckets you use to sort items. Instead of dealing with every single individual item, you just focus on how many items are in each bucket.

For example, imagine you have the exact age of every one of your 5,000 customers. Plotting each individual age (18, 19, 20, 21, etc.) on a bar chart would create a huge, unreadable visual with dozens of tiny bars. Binning allows you to group those ages into ranges like:

  • 18-29
  • 30-39
  • 40-49
  • 50+

Suddenly, your busy chart becomes a clear histogram showing your customer distribution across key demographic age groups. Binning takes a continuous variable (like age, price, or session duration) and converts it into a categorical variable you can easily use for analysis.

Power BI automates this entire process. You don’t need to write complex formulas like you might in Excel with IF statements or VLOOKUP tables to assign each value to a group. You simply tell Power BI what data to group and how you want it grouped, and it handles the rest. This feature works for any numeric data type (like sales amounts, quantity, or scores) and date/time fields.

Why Should You Use Bins to Group Your Data?

So, why go to the trouble of binning? It might seem like an extra step, but grouping your data unlocks several powerful analytical benefits that make your reports more insightful and user-friendly.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Visualize High-Density Datasets Clearly

The most common reason to use bins is to simplify visualizations that contain too many data points. When a chart has too much information, it becomes "noisy" and loses its ability to communicate anything of value. This is especially true for data with high cardinality - meaning many unique values.

For instance, if you run an e-commerce store and want to analyze order values, plotting every single order value on a chart would be chaotic. You’d have data points for $10.5, $10.58, $25.00, $25.15, etc. By binning these order values into ranges like $0-25, $26-50, $51-100, and $100+, you can quickly see which price points are most popular among your customers.

Identify Patterns and Frequency Distributions

Binning is the foundation of creating a histogram, a fundamental chart for understanding the distribution of your data. It helps you see the "shape" of your data to answer questions like:

  • Where is the data centered? For instance, are most of your website sessions between 1 and 3 minutes long?
  • How spread out is the data? Do sales prices cluster tightly around a certain point, or are they spread all over the place?
  • Is the data skewed? Do you have a long tail of very high-value orders, even if most are small?
  • Are there gaps or outliers? Are there price ranges with almost no products? Are there a few customers with an extremely high number of purchases?

By revealing this underlying structure, bins help you move beyond looking at simple averages and start seeing the nuances in your dataset. You can spot the difference between a healthy bell-curve distribution and one skewed by a few extreme values.

Use Binned Groups in Filters and Slicers

Once you create a set of bins in Power BI, it acts just like any other categorical column in your data model. This means you can use your new binned field as a filter in your reports or, even better, as an interactive slicer.

Imagine your sales report. You could add a slicer based on your binned "Order Value" field. Now, your managers can click a button for "$500+" orders to instantly filter the entire report - including sales by region, daily trends, and top products - to see data related only to your biggest customers. This empowers your report viewers to perform their own exploration and drill down into the segments that matter most to them.

Step-by-Step Guide: How to Create Bins in Power BI

Creating bins in Power BI is surprisingly straightforward. It doesn't require any coding and can be done in under a minute. Let's walk through the process using a common example: grouping products by their price.

1. Find and Select Your Numeric Field

First, open your report in Power BI Desktop. In the Fields pane on the right side of the screen, find the numeric or date/time field you want to group. In our case, this would be something like 'Product Price' or 'Unit Price'. Right-click the field to bring up the context menu.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

2. Select 'New Group'

From the right-click menu, choose the New group option. Don't be confused if you've used grouping for text values before - the same menu option handles both. Power BI is smart enough to know you want to create bins because you've selected a numeric field.

3. Configure Your Bin Settings

After clicking 'New group,' the 'Groups' dialog box will appear. Here, you'll define how your bins should be created.

You have a couple of key settings to configure:

  • Group type: Make sure this is set to "Bin". (Power BI should select this for you automatically when you use a numeric field).
  • Bin type: This is the most important decision. You have two choices:

Power BI also automatically populates the Min value and Max value based on your data, but you can override these if you want to control the start and end points manually. Once you've set your bin type and size/number, click OK.

4. Use Your New Binned Field in Visuals

After clicking OK, you’ll see a brand new field in your Fields pane. Power BI will name it after your original field and add '(bins)' to the end - for example, 'Product Price (bins)'.

You can now use this new field just like any other column. The most common use is to create a histogram:

  1. Add a Clustered Column Chart to your report canvas.
  2. Drag your new 'Product Price (bins)' field to the X-axis field well.
  3. Drag a measure, such as a count of your product IDs or sum of sales, to the Y-axis field well.

And that's it! You now have a perfectly formatted histogram showing the distribution of your products across different price buckets. This simple visual is far more insightful than a long table of every single product and price.

Advanced Tips for Power BI Binning

While the standard binning feature is powerful, here are a few things to keep in mind as you get more experienced.

Understanding the Difference: Binning vs. Manual Grouping

It’s important to clarify that binning is different from manual grouping. The 'New Group' dialog can also be used on categorical fields (like 'Country') or even on numeric fields to create custom, irregular buckets. Binning specifically refers to the systematic creation of equal-sized numeric ranges. If you need to group specific, non-contiguous numbers together (e.g., product IDs 101, 205, and 308 into a "Legacy Products" group), you should use the 'List' grouping type instead of 'Bin'.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Dealing with Outliers

Extreme values, or outliers, can sometimes mess with your bins. If you have one product that costs $5,000 while all others are under $200, the 'Number of bins' option can be skewed, as Power BI will try to stretch the bins to accommodate that single outlier, potentially squishing all your other data into just one or two bins. In such cases, using the 'Size of bins' option gives you more control. You might also consider filtering out such outliers before binning or manually setting the 'Max value' in the binning options to exclude them.

Creating Dynamic Bins with DAX

The bins you create with the 'New group' feature are static, their size doesn't change based on user interactions. For more advanced scenarios, what if you wanted your users to be able to change the bin size themselves using a slicer? This is possible, but it requires getting your hands dirty with DAX (Data Analysis Expressions).

You can create a "What if" parameter to generate a series of numbers for a slicer. Then, you can write a DAX measure that uses that parameter to dynamically calculate which bin each data point falls into. While this is an advanced technique, it opens the door to highly interactive and flexible reporting, moving beyond the fixed bins Power BI creates by default.

Final Thoughts

Binning in Power BI is a fundamental technique for transforming dense, continuous data into clear, understandable visuals and categories. By grouping numeric values into ranges, you can quickly create histograms, identify distributions, and build interactive filters that make your reports significantly more insightful for everyone involved.

Creating these reports in business intelligence tools like Power BI is a great first step, but it often still comes with a slow, manual learning process. That’s why we built Graphed - to remove these hurdles and get you straight to the insight. Instead of building visuals and grouping data through a series of menus, you can connect your data sources and simply ask in plain English: "Show me my sales amount distributed by order value in bins of $50." We instantly create the report you need, turning the entire reporting process from hours of clicking into a simple 30-second conversation.

Related Articles