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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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 |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |