In this section, we show you how to create Power BI clusters with an example. To explain this Clusters concept, we are going to use the Scatter Chart that we created earlier.
For this Power BI clusters demonstration, we are going to use the SQL Data Source that we created in Connect to SQL Server article and Scatter Chart.
Create Power BI Clusters
Please click on the … (3 dots) on the top right corner of the chart to see the Clusters option. As you can see from the Power BI screenshot below, we selected the Automatically find Clusters option from the menu.
Clicking the Automatically find Clusters option opens the following Clusters window
- Name: Use this text box to rename the default generated clustered name
- Field: Field or Column that you used for Clustering
- Description: Write a meaningful description that describes this cluster.
- Number of Clusters: By default, Auto is selected. However, you can specify any integer value
For this Power BI cluster demo, we are leaving all the default values. So, let me click the OK button
An auto option has generated three clusters
Edit Power BI Clusters
You can edit the cluster in two ways. Under the Visualization tab, click the down arrow beside the Cluster, and select the Edit Cluster option from the menu.
Or, please select the Cluster that you want to edit, and right-click on it opens the context menu. Please select the Edit clusters option from it
Clicking the Edit clusters option opens the following window. Use this window to change as per your requirement.
Let me change the default three to six
Now you can see, it has generated six different clusters
Delete Power BI Clusters
Please select the Cluster that you want to delete. Next, right-click on it and select Delete option from the context menu.
Confirm Delete
Create Manual Power BI Clusters
It is the same as the first example, but this time we are changing the Number of Clusters value from Auto to 5.
and you can see the 5 clusters
Let me use this cluster on another (different) report. For this, we created a Bar Chart using Postal Code Cluster (newly created) and Sales Amount
Like normal columns, you can also Filter Clusters