
Extending Power BI with Python and R
By :

The first question once you are clear on where to inject R and Python scripts in Power BI could be: "Is the use of R and Python code allowed in all Power BI products?" In order to have a brief recap of the various Power BI products and their usage in general, here is a concise list:
Apart from the licenses, which we will not go into here, a summary figure of the relationships between the previously mentioned products follows:
Figure 1.15 – Interactions between Power BI products
Unfortunately, of all these products, only Power BI Service, Power BI Embedded, and Power BI Desktop allow you to enrich data via code in R and Python:
Figure 1.16 – Power BI products compatibility with R and Python
Important note
From here on out, when we talk about Power BI Service in terms of compatibility with analytical languages, what we say will also apply to Power BI Embedded.
So, if you need to develop reports using advanced analytics through R and Python, make sure the target platform supports them.