Tutorial Gateway

  • C
  • C#
  • Python
  • SQL
  • Java
  • JS
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Go Programs
    • Python Programs
    • Java Programs
  • MySQL

Create Bins in Power BI

Power BI Bins or buckets are useful to create a Range of data, similar to SQL Buckets. Let me show you how to create bins in Power BI with an example

For this Power BI bins demonstration, we are going to use the SQL Data Source that we created in our previous article. So, Please refer Connect to the SQL Server article to understand the Data Source.

Create Bins in Power BI

To visually demonstrate this Power BI bins, we will create a Table. As you can see from the screenshot below, we created a simple Table by dragging the Product Key and Sales Amount column.

I suggest you refer to Create a Table and Format Table article to understand the steps involved in creating and formatting a Power BI Table.

Create Bins in Power BI 1

Please select the filed that you want to use as a bin, and right-click on it opens the context menu. Select the New Group option from the menu.

Create Bins in Power BI 2

Clicking the New Group option opens the following window.

  • Name: Specify the Power BI Bin name
  • Field: Field or Column that you used for binning
  • Group Type: List (group) or bin.
  • Bin Type: There are two option such as Size of Bins or Number of Bins
  • Min and Max Value: Minimum and maximum value present in the selected Fields. Here, it is the Product Key.

If you selected the Bin Type as Size of Bins, then you have to specify the Bin size (static Number)

Create Bins in Power BI 3

Alternatively, if you selected the Bin Type as Number of Bins, then you have to specify the Bin count. Here, Bin size depends upon the Bin count.

Create Bins in Power BI 4

Let me select the Bin size as 20 and click OK. It means each bucket size is 20

Create Bins in Power BI 5

Now you can see the newly created bin under the Product table.

Create Bins in Power BI 6

Let me add that bin to this table. From the below screenshot, you can see that the product Key value is 220 for the keys between 220 to 240

Create Bins in Power BI 7

Edit Power BI Bins

Please select the bin that you want to edit, and right-click on it opens the context menu. Select the Edit Groups option from it

Create Bins in Power BI 8

Clicking the Edit Groups option opens the following window. Use this window to change as per your requirement.

Create Bins in Power BI 9

Delete Bins in Power BI

Please select the bin that you want to delete, and right-click on it opens the context menu. Select the Delete option form it

Create Bins in Power BI 10

Click the Delete button to confirm the delete operation.

Create Bins in Power BI 11

Create Bins in Power BI Example 2

To demonstrate the Bins, we created a Column chart that shows Color wise sales. This time we create a bin on Sales Amount

Create Bins in Power BI 12

Right-click on the Sales Amount, and select the New Group option from the context menu. As you can see from the below screenshot, we defined the Power BI Bin size as the 357.2655

Create Bins in Power BI 13

Let me add this new Sales Amount bin to the Column chart legend section.

Create Bins in Power BI 14

Let me Edit the Power BI Bin, and change the Bin type to Number of Bins, and Bin count to 3

Create Bins in Power BI 15

Now you can see, each bar in the column chart divided by a bin of count 3.

Create Bins in Power BI 16

Filed Under: Power BI

  • Install Power BI Desktop
  • Connect Power BI to SQL Server
  • Add Rename and Duplicate Pages
  • Connect to Multiple Excel Sheets
  • Get Excel Data to Power BI
  • Get Text File Data to Power BI
  • Load Data from Multiple Sources
  • Remove Power BI Table Columns
  • Create Power BI Bins
  • Power BI Joins
  • Change Column Data Types
  • Combine Multiple Tables
  • Power BI Clusters
  • How to Enter Data into Power BI
  • How to Format Dates in Power BI
  • Create Power BI Groups
  • Create Power BI Query Groups
  • Create Power BI Hierarchy
  • Power BI Pivot Table
  • Power BI Unpivot Table
  • Rename Power BI Table Names
  • Rename power bi column names
  • Split Columns in Power BI
  • Remove reorder power bi column
  • Power BI Area Chart
  • Format Power BI Area Chart
  • Power BI Bar Chart
  • Format Power BI Bar Chart
  • Power BI Clustered Bar Chart
  • Clustered Column Chart
  • Create a Power BI Card
  • Format Power BI Card
  • Create Power BI Multi-Row Card
  • Format Power BI Multi-Row Card
  • Power BI Column Chart
  • Format Power BI Column Chart
  • Power BI Donut Chart
  • Format Power BI Donut Chart
  • Power BI Funnel Chart
  • Format Power BI Funnel Chart
  • Power BI Heat Map
  • Power BI Line Chart
  • Format Power BI Line Chart
  • Line & Clustered Column Chart
  • Format Line & Clustered Column
  • Line & Stacked Column Chart
  • Format Line & Stacked Column
  • Power BI Matrix
  • Format Power BI Matrix
  • Power BI Table
  • Format Power BI Table
  • Add Data Bars to Power BI Table
  • Add alternate Table Row Colors
  • Power BI Pie Chart
  • Format Power BI Pie Chart
  • Power BI Ribbon Chart
  • Format Power BI Ribbon Chart
  • Power BI Treemap
  • Format Power BI TreeMap
  • Power BI Scatter Chart
  • Format Power BI Scatter Chart
  • Power BI Stacked Area Chart
  • Power BI Stacked Bar Chart
  • Format Stacked Bar Chart
  • Power BI Stacked Column Chart
  • Format Stacked Column Chart
  • Power BI Waterfall Chart
  • Format Power BI Waterfall Chart
  • Power BI 100% Stacked Bar Chart
  • 100% Stacked Column Chart
  • Create a Power BI Map
  • Format Power BI Map
  • Power BI Filled Map
  • Format Power BI Filled Map
  • Power BI Basic Filters
  • Power BI Slicer
  • Power BI Top 10 Filters
  • Power BI Drill through Filters
  • Power BI Filters on Measures
  • Power BI Advanced Filters
  • Power BI Report Level Filters
  • Power BI Page Level Filters
  • Power BI Calculated Columns
  • Add Conditional Column
  • Create Power BI Custom Column
  • Power BI Calculated Measures
  • Power BI Calculated Tables
  • Power BI DAX String Functions
  • Power BI DAX Math Functions
  • DAX Trigonometric Functions
  • Power BI DAX Date Functions
  • Power BI DAX Logical Functions
  • Power BI DAX Agg. Functions
  • Power BI Dashboard Introduction
  • Power BI Dashboard Settings
  • Power BI Dashboard Actions
  • Delete Power BI Dashboard
  • Subscribe Power BI Dashboard
  • Add Web Content to Dashboard
  • Add Image to Dashboard
  • Add video to power bi dashboard
  • Add Title to Power BI Dashboard
  • Pin Workbooks to Dashboard
  • Register to Power BI Service
  • Connect to Power BI Service
  • Create Power BI Workspace
  • Share Power BI Workspace
  • Create a Report in Workspace
  • Rename a Report in Workspace
  • Rename a Dataset in Workspace
  • Quick insights in Power BI
  • Get insights in Power BI
  • Publish power bi desktop report
  • Upload Power BI Workbooks
  • Upload Excel Files to Dashboard
  • Edit Power BI App
  • View Published Power BI App
  • Publish Power BI App
  • Share Power BI Dashboard
  • Share Power BI Workspace
  • Share Power BI Report
  • Power BI Q&A
  • Power BI Q&A Advanced
  • Customize Q&A Suggestions

Copyright © 2021· All Rights Reserved by Suresh.
About | Contact | Privacy Policy