Open Side Menu
Skip to contentBrand Logo
Forums
Inspiration
Ideas
Communities
Blogs
Learning
Support
RegisterSign In
  1. Microsoft Fabric Community
  2. Power BI forums
  3. Galleries
  4. R Script Showcase
Sharon's avatar
Sharon
Microsoft Employee
10 years ago

Clustering

Description Clustering is used to find similarity groups in your data. For example, the clustering algorithm and visual can automatically find customer segments, for which you can then optimi...
Clustering Kmeans Showcase .pbix327 KB
ScriptInstallPackagesWithWorkaroundsClustering.R2 KB
Advanced Analytics Visualizations
jeffpbi's avatar
jeffpbi
Microsoft Employee
9 years ago

As a Power BI author with only the most basic knowledge of R, I think the R Library is a great concept.  However, actually making use of what's been posted on the site is extremely hard because so much code has been written into the examples, I have no idea which lines of code are actually driving the visual.  When I pasted the code into a Word document, it was 18 pages in length, with 1851 words. 

 

Is there any way to simplify what's in the library so that it's more comprehensible and usable?

 

Thanks,

Jeff

 

 

boefraty's avatar
boefraty
Microsoft Employee
9 years ago

Hi,

The clustering code is too complicated, mostly because it contains the implementation of the the automatic mode and many parameters to create flexible visual. In addition we do a lot of data correctness testing... 

 

The simplest code to start with is "corrplot".  We recommend to look at the R code in dedicated R-IDE, like RStudio.

  • © 2026 Microsoft
  • Manage cookies
  • Privacy & cookies
  • Terms of use
  • Trademarks
Your Privacy Choices Consumer Health Privacy