Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Struggling to get started with R visual in power BI. I tried to set everything up but get the following error message:
Error Message:
No image was created. The R code didn't result in creation of any visuals. Make sure your R script results in a plot to the R default device.
Options set up in the picture below:
Code:
ggplot2 installed throught Rstudio.
Not sure what I am doing wrong here. Thanks in advance for your help!
Hi @Anonymous ,
You can try to remove 't <-' to let ggplot function draw graph:
library(ggplot2) ggplot(dataset, aes(x = cty, y = hwy, size =cy1)) + geom_point()
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |