Member-only story

How to do Clustering Analysis in Microsoft Power BI with two lines of Python code?

Moez Ali
4 min readJun 21, 2022

--

Step by step guide for clustering analysis in Power BI using Python

Photo by Luke Chesser on Unsplash

Introduction

In this tutorial you will learn how to do clustering analysis in Microsoft Power BI using a Python library called PyCaret.

Power BI is a business analytics solution that lets you visualize your data and share insights across your organization, or embed them in your app or website. In this tutorial, we will use Power BI Desktop for machine learning by importing the PyCaret library into Power BI.

If you have used Python before, it is likely that you already have Anaconda Distribution installed on your computer. If not, click here to download Anaconda Distribution with Python 3.7 or greater.

https://www.anaconda.com/distribution/

Create a new anaconda environment

Open Anaconda Prompt from start menu and run the following code:

conda create --name myenv python=3.7

--

--

Moez Ali
Moez Ali

Written by Moez Ali

Data Scientist, Founder & Creator of PyCaret

Responses (1)