Use R functions in Power BI

nando88

Board Regular
Joined
Jun 22, 2013
Messages
124
I was wondering if its possible to use R functions to obtain numeric results in Power BI, with information already imported in Power BI?
I know that there's an option for R script in Power BI, but that is a visual and there is another one but that makes me paste a script that pulls the information previously, and what I want is to use an R script inside Power BI, so that I can create like a calculated column with that script or something similar.
If there is a way to do this in Power BI, please let me know and if you could please guide me in the process, I would be really grateful.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Thanks for the reply.
I tried what was described in the blog, but I need something else, I need to be able to select a column from the query editor, even if its not a csv.
Code:
library(dplyr)
library(tidyr)
dataX<-data.frame(select(X))|
This is just an example
I just can't figure out how to do this.
Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top