Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
lucianosb
Advocate I
Advocate I

Can Power BI use R and R Studio from Anaconda?

Is it possible to use Power BI with the R and R Studio that comes with Anaconda data science platform? 

 

I tried to point the R installation to C:\Users\my_user\Anaconda3\R but I get an error that prompts me to verify if R is installed correctly whenever I try to run a R Visual.

 

 

7 REPLIES 7
Anonymous
Not applicable

hey i am having the same problem , powerBI is not able to detect my anaconda R installation even after giving the path. Did you solve this issue??

Greg_Deckler
Community Champion
Community Champion

Are you referring to this?

 

https://anaconda.org/r/rstudio

 

And what installer did you use?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Yes, that one!

 

I'm using the full Anaconda 4.3 distribution, with Python 3, and installed R Studio through the Anaconda Navigator.

I was able to replicate that. Strange.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I ended up installing R regularly on my machine and it worked as it should. However, when I switch to the Anaconda R through the Power BI Settings, I still get that error.

 

Perhaps I should fill this as an issue?

You could, but I am wondering if when installing R through Anaconda it isn't doing something that it is supposed to do. Perhaps a PATH issue or a registry setting? Power BI is detecting my R installations somehow but it does not detect R installed through Anaconda.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Im facing similer issue with Python thorugh anaconda.. the python scripts and visuals in power bi keep faliling .. and only error im getting is python script failed to run ... any ideas on how i can further debug this ?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.