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
JaouadZrhibi
Helper I
Helper I

Correlation indicator or Clustering as K-means ?

Hi,

 

I need to configure correlation or clustering as K-means on my dashboard but it doesn't "work".

 

Target : just see correlation between countries according one variable : tons or USD (not both).

 

For example, we compare only weight on Chinese imports VS US imports, China vs France, China vs Canada…

 

Then, US imports vs France imports, US vs Germany...with all possible combinations.

 

Results show us the most correlated countries in term of imports in a period of time (2001 till 2017)

 

https://drive.google.com/open?id=1Sjc5jF4L9EYOWwPbf-srLkKGjO9zaYln

 

Thank you for your kind help,

 

Jaouad

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@JaouadZrhibi,

How about you use the clustering custom visual?

The other way I can find is to write R code to cluster data using k-mean algorithm.
https://community.powerbi.com/t5/R-Script-Showcase/Clustering-using-k-mean-in-power-query-elbow-char...


Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.