Forum Discussion
Syndicate_Admin
2 years agoAdministrator
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 on...
OguzMavice
2 years agoResolver 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.