Grouping and Binning
Grouping and binning in Power BI creates group columns that can then be utilized like other columns in a model to simplify report visualizations and self-service analysis, given their reduced granularity. Additionally, groups can be managed and edited in Power BI Desktop, providing a flexible option for semantic model owners to respond quickly to changing requirements or preferences.
This recipe provides examples of using grouping and binning functionality within Power BI Desktop.
Getting ready
- Download
Grouping and Binning Start.pbix
from the following GitHub repository: https://github.com/PacktPublishing/Power-BI-Cookbook-Third-Edition. - Open
Grouping and Binning Start.pbix
in Power BI Desktop. - Edit the
AdventureWorks
query, and change theSource
line to point to your SQL server with theAdventureWorksDW2022
database installed. - Click Close & Apply from the ribbon of the Home tab.
- Save your work.