From the course: Power BI Data Methods
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Using a Python script connector - Power BI Tutorial
From the course: Power BI Data Methods
Using a Python script connector
- [Instructor] Like R scripts, Python scripts are also useful for the few tasks in Power BI where the functionalities don't quite work to do what we want them to do within the interface. It can do many of the same things as R, but Python has a lot more capabilities where we can use it for things like integrations and connecting data within larger ecosystems of other applications. To get Python to work in Power BI Desktop, you'll want to install it on your computer if you haven't already. You'll also need to install Pandas and Matplotlib libraries or packages in order to have it to run. Once we upload this to shared accounts like the Power BI service, Python will run off of the cloud instead. We can access Python scripting through the Options menu. We'll then choose the Python scripting sub menu, and we can choose our Python directory to use. It also detects IDEs. So this is already set up, so now let's run a Python script. Let's use the following example of a Python script to see how…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Connecting to text files6m 57s
-
Connecting to CSV files5m 30s
-
(Locked)
Connecting to Excel files3m 32s
-
(Locked)
Connecting to online Excel files3m 45s
-
(Locked)
Connecting to PDF files4m 42s
-
(Locked)
Connecting to images as data4m 32s
-
(Locked)
Setting up folder connection7m 10s
-
(Locked)
Connecting to HTML and XML4m 30s
-
(Locked)
Connecting to JSON data4m 11s
-
Connecting to APIs4m 20s
-
(Locked)
Connecting to ODATA feeds2m 7s
-
(Locked)
Connecting to GitHub4m 6s
-
(Locked)
Using an R script connector3m 44s
-
(Locked)
Using a Python script connector2m 42s
-
(Locked)
Challenge: Getting data58s
-
(Locked)
Solution: Getting data3m 9s
-
(Locked)
-
-
-
-
-
-