Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Map clustering

Hello!

I was looking for a way to represent geographic maps but clustered, based on coordinates.

I mean, when there are several points very close together, they should concentrate on a single one, and when the map expands, they separate.

I don't really know if it's possible in Power Bi but I found the image below on google, so let's see if you can give me a hand to know how to do it or what visual to use.

cluster-map.png

1 REPLY 1
OguzMavice
Resolver II
Resolver II

Hi @Syndicate_Admin , 

 

you can generate clustering in your dataset by using dax functions. Then you can use this cluster as legend in your map visual. 

 

you can use default clustering of power bi. But your example image is not based on coordinates distnace clustering, it depends on transcation.  If you want to make this by coordinates, you can use coordinate values. If pbi does not support for the coordinates; you can use python script to cluster. default pbi clustering runs "k-means" algorithm. Also in the dax side, you can calculate distance between points then use these distance on your clsutering algorithms. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.