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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors