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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi there,
I am trying to create a custom visual with the R script functionality. I have R installed as well as R studio. When I add my fields to the values pane of the R visual, it does not create the data frame as it is meant to. The image below should better explain my problem.
If anyone knows why this is happening then any help would be much appreciated.
Thanks
Hi @LiamRall ,
When you use a R script visual, you need to write somethng in the script area. Currently there is nothing in your script area except the automated commented lines.
Also R visual can be used to plot a visual rather than outputting a dataframe directly. Something like below:
Thanks,
Pragati
Hi Pragati11
Thank you for your response!
I can plot things in the script. So if I type plot(1,1) a visual does come up. My problem is that I don't have access to my values because the automatic code is not creating a data.frame for me to use.
I feel like the automatic code should generate something like:
dataset <- data.framed(Year, Quarter, Month, Day, Client Count)
I hope this helps.
HI @LiamRall ,
This feels like a bug to me.
Also I am hoping you are working on the latest Power BI update.
Can you raise a support ticket here for this issue?
https://powerbi.microsoft.com/en-us/support/
Thanks,
Pragati
Thanks, @Pragati11
I am on the latest version of Power BI.
I will log a ticket and see what the support team says. Thank you for the help.
Hey have you heard anything back about this? Having the same issue.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.