Forum Discussion
yoshihirok
10 years agoPost Prodigy
R script for starting.
I want to a R script for starting R script in Power BI Desktop. Just like "Hello World" of some programming language. I want to start the R language by Power BI Desktop. Example: How to t...
- Anonymous10 years ago
I suspect querying the Iris data set is the closest thing to a hello world in R (it's a built in set of data on flower petal sizes, kind of the R equivalent to Adventureworks). Try this as a script.
class(iris) str(iris) IrisInput <- iris
tenaciousdata
10 years agoAdvocate I
Thank you Anonymous
You got me cooking!
There needs to be an I owe this person a beer button in the Power BI Community.
Anonymous
10 years agoNot applicable
Glad to help out tenaciousdata.
It will be interesting to see how far people can develop these things.
Speaking of which I found this blog today which is doing pretty much what I was pondering before (using forecasting algorithms in the R visual script). I suspect I'll be using this one a lot in the future.
http://www.datamic.net/blog/dynamic-forecasting-with-power-bi-and-r