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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rohuyn
Frequent Visitor

Dynamic R Forecasting Data

Hi everyone,

 

I was able to get my Forecasting in R to work correctly, and can now dynamically update it using slicers. What I cannot do, however, is explicitly see what my forecasted values and its confidence intervals in Power BI. 

 

I know that I'm able to run a script to get the forecasted data as a dataset, but is there a way to dynamically see that forecast data in a table of sorts the same way that my forecasting visual works?

 

Appreciate any and all guidance/expertise!

 

Best,

Ronnie

2 REPLIES 2
ankitpatira
Community Champion
Community Champion

@rohuyn I don't think you will be able to see that in the data view in power bi itself but how about at the end of your R script use write.csv method that outputs dataset to csv. Try that out, I have never had done this before though.

 

write.csv(yourDataFrame, file = "C:/MyData.csv")

 

Appreciate the response, ankitpatira! Unfortunately, while your solution is passable for myself, it wouldn't be utilized well upon scale in my organization.

 

With that being said, I'm curious if anyone else has outputted this data onto Power BI in any other format, or if the R Dev Team has considered adding this functionality.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.