Skip to main content
HomePower BIIntroduction to Python in Power BI

Introduction to Python in Power BI

4.6+
12 reviews
Intermediate

Learn how to use Python scripts in Power BI for data prep, visualizations, and calculating correlation coefficients.

Start Course for Free
3 Hours9 Videos25 Exercises
4,055 LearnersTrophyStatement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
GroupTraining 2 or more people?Try DataCamp For Business

Loved by learners at thousands of companies


Course Description

Customize Power BI with Python

In this introduction to Python in Power BI course, you’ll use data from an overfishing study and an online retailer to learn how to use Python scripts in Power BI for data prep, visualizations, and calculating correlation coefficients.

Build Custom Visuals

Specifically for building custom Python-based visuals, you will be utilizing the Seaborn package. By the end, you should feel a little more comfortable using Python in (and outside of) Power BI.

Power up your Toolbox

Whether you were first a Pythonista or a Power BI power user, integrating Python into Power BI is a fantastic addition to the data toolbox. This course will demonstrate that, by using the two together, you can leverage the benefits of each, choosing the best one for the task at hand.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Getting Started with Python in Power BI

    Free

    In this first chapter, you will learn the advantages and limitations of Python in Power BI as well as how to enable this capability within a workbook. You will also perform the same task using both technologies separately to build familiarity with the strengths and weaknesses of both. Power BI is a powerful tool. Python can be leveraged to make it even more powerful!

    Play Chapter Now
    Learning the basics of Python in Power BI
    50 xp
    Pros and cons of Python in Power BI
    100 xp
    Set up, import, and transform data
    50 xp
    Set up Power BI for Python
    100 xp
    Power BI: import and join
    100 xp
    Python: import and join
    100 xp
  2. 2

    Missing Data and Imputation

    Now that you're up and running with Python in Power BI, let's move on to another important data processing step - identifying missing data and imputation. In this chapter, you will identify missing data in a dataset using Python, then Power BI. You will then work through addressing missing data by leveraging imputation techniques.

    Play Chapter Now
  3. 3

    Visualizations with Seaborn in Power BI

    In this chapter, you will construct several Python-based visualizations, using the Seaborn package, in Power BI. Specifically, a line plot, pair plot, and joint plot. You will also learn how to interpret these visualizations to extract insights about the data. By this point, you will know some of the key differences between Python and Power BI in basic data processing steps. The next step is to visualize this data!

    Play Chapter Now
  4. 4

    Heatmaps and Correlation Coefficients

    In this chapter, you will continue evaluating the relationship between variables. This time, you will be doing so quantitatively by calculating the correlation coefficient. You will learn how to do this in Power BI then Python. Finally, you will leverage the power of Seaborn visualizations to create a correlation heatmap! By the time you finish the course, you'll be skilled in Power BI, Python, and data visualization techniques. Nice work!

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

Datasets

DataCamp vs. Local ExperienceExercises and Datasets

Collaborators

Collaborator's avatar
Iason Prassides
Collaborator's avatar
Carl Rosseel
Jacob Marquez HeadshotJacob Marquez

Data Scientist at Microsoft

Jacob H. Marquez is an insatiable learner and lifelong builder. He is a data scientist by day, answering audacious questions to support customer experience and company goals. He is a serial hobbyist by day and night: being an educator, building a coffee recommendation app, drinking coffee, writing on Medium, and amateur cycling and muay thai. He has a bachelor's in psychology and a master's in computational analytics (2024).
See More

Don’t just take our word for it

*4.6
from 12 reviews
75%
17%
8%
0%
0%
Sort by
  • Krista B.
    8 months

    .

  • Felipe G.
    about 1 year

    I loved this course!

  • Magdalena T.
    about 1 year

    The material was good. However, the interface was very slow and glitchy on my mac and on chrome. A lot of the python exercises would not execute properly. Also, the videos are very slow, but do not explain well where to click, rather using BI jargon for names of buttons to press. This is hard for a beginner to follow.

  • Sorin I.
    about 1 year

    Easy to follow, clear and concise, very useful. Excellent practice mode

  • Yuanlong Z.
    over 1 year

    Great course. I suggest developing intermediate/advanced Python in Power BI courses and case studies.

"."

Krista B.

"I loved this course!"

Felipe G.

"The material was good. However, the interface was very slow and glitchy on my mac and on chrome. A lot of the python exercises would not execute properly. Also, the videos are very slow, but do not explain well where to click, rather using BI jargon for names of buttons to press. This is hard for a beginner to follow."

Magdalena T.

Join over 13 million learners and start Introduction to Python in Power BI today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.