This article will introduce how to implement KNN(K-nearest neighbor) classification using Data Analysis Expressions (DAX). You can see the color scatter plot in the image below, where each scatters represents each product. The horizontal axis represents the sales quantity, the vertical axis represents the profit, and the remaining 7 white triangles are the test data to be classified. Next, I will use the KNN algorithm to classify these test data.

#power-bi-tutorials #dax #knn-algorithm #power-bi #algorithms

Implementing K-Nearest Neighbor Classification Algorithms Using DAX
3.20 GEEK