Use R on PowerBI

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:

c.PNG

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”

Immagine 001

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:

1

Click  OK and it’s all. You can find the R in the graph tab:

Immagine 002

Annunci

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...