Member-only story

Anomaly Detection in Power BI with two lines of Python code

Moez Ali
4 min readJun 22, 2022

--

Step by step guide for unsupervised anomaly detection in Power BI with only two lines of Python code

Image by Author

Introduction

In this tutorial you will learn how to implement unsupervised anomaly detection 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)