Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Extending Power BI with Python and R - Second Edition

You're reading from  Extending Power BI with Python and R - Second Edition

Product type Book
Published in Mar 2024
Publisher Packt
ISBN-13 9781837639533
Pages 814 pages
Edition 2nd Edition
Languages
Author (1):
Luca Zavarella Luca Zavarella
Profile icon Luca Zavarella

Table of Contents (27) Chapters

Preface Where and How to Use R and Python Scripts in Power BI Configuring R with Power BI Configuring Python with Power BI Solving Common Issues When Using Python and R in Power BI Importing Unhandled Data Objects Using Regular Expressions in Power BI Anonymizing and Pseudonymizing Your Data in Power BI Logging Data from Power BI to External Sources Loading Large Datasets Beyond the Available RAM in Power BI Boosting Data Loading Speed in Power BI with Parquet Format Calling External APIs to Enrich Your Data Calculating Columns Using Complex Algorithms: Distances Calculating Columns Using Complex Algorithms: Fuzzy Matching Calculating Columns Using Complex Algorithms: Optimization Problems Adding Statistical Insights: Associations Adding Statistical Insights: Outliers and Missing Values Using Machine Learning without Premium or Embedded Capacity Using SQL Server External Languages for Advanced Analytics and ML Integration in Power BI Exploratory Data Analysis Using the Grammar of Graphics in Python with plotnine Advanced Visualizations Interactive R Custom Visuals Other Books You May Enjoy
Index
Appendix 1: Answers
Appendix 2: Glossary

Installing Python and R custom runtimes for SQL Server

In Chapter 8, Logging Data from Power BI to External Sources, you installed an instance of SQL Server 2019 to test its ability to use Python and R to log information from Power BI. Our goal now is to install the latest Python and R engines on SQL Server 2019. As mentioned in the previous section, we need to have at least SQL Server 2019 with at least CU3 installed. We assume that you have system administrator privileges on your machine. So, let’s take a look at how to do it.

Updating SQL Server

Referring to the SQL Server 2019 builds table (available at https://bit.ly/sqlserver2019-build-numbers), you can see that the minimum allowed version corresponding to CU3 is 15.0.4023.6:

A screenshot of a computer  Description automatically generated

Figure 18.2: Minimum SQL Server build version number to install

Therefore, the first step is to check which SQL Server build version you have installed. To do this, follow these steps:

  1. Open the SQL Server Management...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}