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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.