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
rainynights
Helper II
Helper II

Is it possible to do K-Means Clustering using more than 2 Variables?

I'm curious whether PBI's default clustering features accommodate clustering when looking at multiple variables, since realistically, there might be several variables to take into consideration.

 

I've only done this using Scatter Charts where there were two variables so far, so I'm not sure if the capability goes beyond that.

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

using DAX to create kmeans can be become "sporty", maybe you want to use an R script visual as mentioned here:

https://community.powerbi.com/t5/Desktop/k-mean-clustering-table-or-measure/td-p/559498

 

There is also a R script visual available as a custom visual.

 

Hopefully this provides some ideas.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

using DAX to create kmeans can be become "sporty", maybe you want to use an R script visual as mentioned here:

https://community.powerbi.com/t5/Desktop/k-mean-clustering-table-or-measure/td-p/559498

 

There is also a R script visual available as a custom visual.

 

Hopefully this provides some ideas.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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