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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bvy
Helper V
Helper V

Want to color code points that CLUSTER in a Scatter visual

Very simple data set -- Category and (X, Y) coordinates plotted on a Scatter. I want to color code points that cluster. The only way I can think to do this is to count the number of nearby points (by radius of 5 units, for example) -- if a point has 0 neighbors, it gets one color; 1-3 nieghbors, it gets a different color, etc. It should be subject to the filter selection of course (Category in this case). Is there a measure or some other clever way to accomplish this? Looking for ideas. Thank you. 

 

bvy_3-1598639283893.png

 

bvy_2-1598639203008.png

 

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hi @bvy ,

 

If you want to implement it in a Scatter visual, you could watch this: Cluster Analysis Visualization Techniques For Power BI - Power BI Review  to have a try.

If you could use custom visual, @mahoneypat  is right, the visual of Clustering is a good choice. You could reference the blog and video to learn more about it.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-november-feature-summary/#clustering

https://www.youtube.com/watch?v=NjdZjozKboA

 

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xuding-msft
Community Support
Community Support

Hi @bvy ,

 

If you want to implement it in a Scatter visual, you could watch this: Cluster Analysis Visualization Techniques For Power BI - Power BI Review  to have a try.

If you could use custom visual, @mahoneypat  is right, the visual of Clustering is a good choice. You could reference the blog and video to learn more about it.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-november-feature-summary/#clustering

https://www.youtube.com/watch?v=NjdZjozKboA

 

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
mahoneypat
Employee
Employee

Please check out the marketplace visuals in AppSource (free).  Click the ellipsis in the Visuals area and choose "Get More Visuals".  Search for Cluster when there to see these options.

 

mahoneypat_0-1598661586096.png

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


pranit828
Community Champion
Community Champion

HI @bvy 

Use the legend section to color code.

pranit828_0-1598639429110.png

 





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

@pranit828 How does that apply to points that cluster? 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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