Lately the ability to create custom views of Power BI has been released using the programming language R. To use it , however, we must first make a series of activities :
Download R
First you need to download to install d R , you have to connect to the following link and select start downloading Microsoft R Open . You’ll need to install the downloaded files, and keep in mind where it was installed. Usually follows a standard installation the following file path :
C:\Program Files\R\R-3.2.3
Activate R on Power bI
Open power BI, and if you want open an existing model o a new one it’s the same for us.
Select FIle and after option:
You should open a window where we will find two items on the left :
- Srript R
- Previow of Function
Select Previow of Function and flag “R uses a script to Draw a visual object in the drawing area”
Change and click Script R, PowerBI automatically should have find the location of where the installation of R made earlier . If it is not so just select it:
Click OK and it’s all. You can find the R in the graph tab: