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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
LiamRall
Frequent Visitor

R Script Editor isn't automatically populating the data frame with my values.

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.ScreenCapture250821.PNG

If anyone knows why this is happening then any help would be much appreciated.

 

Thanks

5 REPLIES 5
Pragati11
Super User
Super User

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:

Pragati11_0-1629883935505.png

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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. 

ScreenCapture250821-01.PNG

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

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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. 

Anonymous
Not applicable

Hey have you heard anything back about this? Having the same issue.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.