Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Extending Power BI with Python and R
  • Table Of Contents Toc
Extending Power BI with Python and R

Extending Power BI with Python and R - Second Edition

By : Luca Zavarella
5 (30)
close
close
Extending Power BI with Python and R

Extending Power BI with Python and R

5 (30)
By: Luca Zavarella

Overview of this book

The latest edition of this book delves deep into advanced analytics, focusing on enhancing Python and R proficiency within Power BI. New chapters cover optimizing Python and R settings, utilizing Intel's Math Kernel Library (MKL) for performance boosts, and addressing integration challenges. Techniques for managing large datasets beyond available RAM, employing the Parquet data format, and advanced fuzzy matching algorithms are explored. Additionally, it discusses leveraging SQL Server Language Extensions to overcome traditional Python and R limitations in Power BI. It also helps in crafting sophisticated visualizations using the Grammar of Graphics in both R and Python. This Power BI book will help you master data validation with regular expressions, import data from diverse sources, and apply advanced algorithms for transformation. You'll learn how to safeguard personal data in Power BI with techniques like pseudonymization, anonymization, and data masking. You'll also get to grips with the key statistical features of datasets by plotting multiple visual graphs in the process of building a machine learning model. The book will guide you on utilizing external APIs for enrichment, enhancing I/O performance, and leveraging Python and R for analysis. You'll reinforce your learning with questions at the end of each chapter.
Table of Contents (27 chapters)
close
close
23
Other Books You May Enjoy
24
Index
1
Appendix 1: Answers
2
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...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Extending Power BI with Python and R
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon