This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I have a very simple R plot I am trying to add to my PowerBI Report.
Here is the code:
Solved! Go to Solution.
Hi @Anonymous ,
Actually, your code works well on my side. Which power bi version and r script version you test?
library(ggplot2) options(scipen=999) ggplot(data=dataset, mapping =aes(x=dataset$ID, y= dataset$Amount, group=1)) + geom_bar(position="dodge", stat="identity")
Regards,
Xiaoxin Sheng
I had the same issue, I was using my work computer and the default location was "\\MAR-XXXX\homedrive$\Brenton.Collins\R"
It was a mapped drive that must have been causing the issue.
I installed it on C:\R instead which fixed the issue.
Hi @Anonymous ,
Actually, your code works well on my side. Which power bi version and r script version you test?
library(ggplot2) options(scipen=999) ggplot(data=dataset, mapping =aes(x=dataset$ID, y= dataset$Amount, group=1)) + geom_bar(position="dodge", stat="identity")
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 32 | |
| 27 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |